This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- Based on Chris Russell's 2017 Medium post (https://medium.com/@chris.russell/integrating-things-3-with-microsoft-outlook-on-mac-63a9ba43abc3) | |
| -- and related GitHub gist (https://gist.github.com/crsrusl/67eee8497dd296879fe1a832b3205f0a). | |
| -- | |
| -- IMPORTANT | |
| -- As of Microsoft Outlook for Mac version 16.105.2, this script only works when using the "Legacy Outlook" variant. | |
| -- AppleScript support in New Outlook for Mac is tracked with roadmap ID 88537 | |
| -- (see https://www.microsoft.com/en-us/microsoft-365/roadmap?id=88537) | |
| -- | |
| tell application "Microsoft Outlook" | |
| -- Stop if no message is selected |