Skip to content

Instantly share code, notes, and snippets.

@crsrusl
Created August 3, 2017 12:01
Show Gist options
  • Select an option

  • Save crsrusl/67eee8497dd296879fe1a832b3205f0a to your computer and use it in GitHub Desktop.

Select an option

Save crsrusl/67eee8497dd296879fe1a832b3205f0a to your computer and use it in GitHub Desktop.
tell application "Microsoft Outlook"
set theMessage to first item of (get current messages)
set theSubject to the subject of theMessage
set theBody to the plain text content of theMessage
set theID to the id of theMessage
end tell
tell application "Things3"
show quick entry panel with properties {name:theSubject, notes:theBody}
end tell
@CaseyRo
Copy link

CaseyRo commented May 10, 2022 via email

@mxvaic
Copy link

mxvaic commented Dec 1, 2023

@rodhdz
Copy link

rodhdz commented Dec 7, 2025

Hey, I managed to fix with changing selection call: set theMessage to selection My script bellow also adds link to message as described in comment here: https://medium.com/@zenocolo78/hey-russel-thank-you-very-much-this-really-helped-me-since-due-company-policy-i-have-to-use-1b8049c3ff66

tell application "Microsoft Outlook" set theMessage to selection set theSubject to the subject of theMessage set theBody to the plain text content of theMessage set theID to the id of theMessage end tell

tell application "Things3" show quick entry panel with properties {name:theSubject, notes:"outlook://" & theID & linefeed & theBody} end tell

I changed tge code to this, it seems that the AppURL changed from outlook to ms-outlook

tell application "Things3"
	show quick entry panel with properties {name:theSubject, notes:"ms-outlook://message/" & theID & linefeed & theBody}
end tell

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment