
#VBA FOR MAC HOW TO#
It’s not obvious how to “Save As” in Automator.

Save the service, giving it a name like MoveSelectedOutlookMailToArchive. At the top of the service, set the two settings to: Service receives no input in any application From the left panel, choose Library, then in the second panel from the long list find “Run Applescript”, and drag that into the main service window.Ĭopy and paste your Applescript replacing (* Your script goes here *).You will create a service from your script. In Automator, choose a type for your document, choose.Press Command-Tab to launch Spotlight Search, from there launch.

Step 2 – Assign the Applescript to a Service using Automator Repeat with theMessage in selectedMessages Set ArchiveFolder to folder "IZ - Archive" of inbox Set inBoxFolder to folder "Inbox" of emailAcct 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,
#VBA FOR MAC INSTALL#

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".
