Skip to content

Instantly share code, notes, and snippets.

@crsrusl
Created August 3, 2017 12:01
Show Gist options
  • Save crsrusl/67eee8497dd296879fe1a832b3205f0a to your computer and use it in GitHub Desktop.
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
@jonasdiemer
Copy link

Hi, I just stumbled upon this. Am not an experienced coder at all, but I was trying to install the code @Zenocolo proposed. I get the following respons: "Can’t get subject of missing value". Does anyone know how to get this to work?

Apparently, the "New Outlook" doesn't support automation via AppleScript. So seems like we need to wait for Microsoft to add this (again) - or maybe someone is aware of a workaround?

@CaseyRo
Copy link

CaseyRo commented May 10, 2022 via email

@mxvaic
Copy link

mxvaic commented Dec 1, 2023

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