Skip to content

Instantly share code, notes, and snippets.

@MattJermyWright
Created February 14, 2013 23:44
Show Gist options
  • Save MattJermyWright/4957430 to your computer and use it in GitHub Desktop.
Save MattJermyWright/4957430 to your computer and use it in GitHub Desktop.
Applescript that moves any set of Microsoft Outlook 2011 messages to the first iMap account and to a pre-defined folder within that imap account.
tell application "Microsoft Outlook"
set thisAccount to item 1 of imap accounts
set destFolder to folder "Hewlett-Packard"
set messageSet to current messages
repeat with currMsg in messageSet
move currMsg to destFolder
end repeat
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment