Skip to content

Instantly share code, notes, and snippets.

@CaseyRo
Forked from crsrusl/Things-Outlook.AppleScript
Created August 21, 2020 11:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CaseyRo/22c7391faa9a9ae8f1429e2c31499295 to your computer and use it in GitHub Desktop.
Save CaseyRo/22c7391faa9a9ae8f1429e2c31499295 to your computer and use it in GitHub Desktop.
tell application "Microsoft Outlook"
set theMessageList to selected objects
log theMessageList
set theMessage to item 1 of theMessageList
set theSubject to the subject of theMessage
set theTime to the time received of theMessage
set theBody to the plain text content of theMessage
set theSender to the sender of theMessage
set theSender to the address of theSender
set theID to the id of theMessage
end tell
tell application "Things3"
show quick entry panel with properties {name:theSubject & " (" & theTime & ")", notes:theSender & return & return & theBody}
end tell
@CaseyRo
Copy link
Author

CaseyRo commented Aug 21, 2020

Added a bit of additional metadata that I'd like to have.

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