Created
December 4, 2014 23:46
-
-
Save rjfranco/2ee2243b0315fb169efd to your computer and use it in GitHub Desktop.
Archive Email with hotkey in Mac Outlook
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
| tell application "Microsoft Outlook" | |
| set myMessages to selection | |
| set firstMessage to item 1 of myMessages | |
| set theAccount to account of firstMessage | |
| set archiveFolder to folder "Archive" of theAccount | |
| repeat with eachMessage in myMessages | |
| set eachMessage's is read to true | |
| move eachMessage to archiveFolder | |
| end repeat | |
| end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment