

Set aMessage to item 1 of selectedMessages if there are no messages selected, warn the user and then quitĭisplay dialog "Please select a message first and then run this script." with icon 1 NOTE in this version it fails if the Outlook Reminder window is open, even if you select a message in the main window. get the currently selected message or messages There’s lots of room for improvement here. This script moves the currently selected email(s) to a folder named “IZ – Archive”. Look elsewhere for help on changing this to do exactly what you want. In menu bar” and also “Show Computer scripts”. In preferences choose General, and check (enable) “Show Script menu Then in the menu at the top choose Script Editor->Preferences. You have to be in the script editor first,
#Outlook 2016 for mac macro examples install#

Also shown below for reference is the original VBA I was trying to emulate on Mac. I'm including the Applescript here that moves selected Outlook emails to an archive folder. On Mac this is done with Applescript, Automator, and Keyboard Shortcuts. Thanks to those who pointed me in the right direction. Here is a way in Outlook 2016 on Mac to do the equivalent of Windows "Write a VB script and assign it to a key".
