Created
November 29, 2015 01:33
-
-
Save talkingmoose/1588e80bf6a4cd16b358 to your computer and use it in GitHub Desktop.
Add a category to an Outlook item with existing categories.
This file contains 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 theMessages to selection | |
repeat with aMessage in theMessages | |
set theList to categories of aMessage | |
set end of theList to category "Team" | |
set category of aMessage to theList | |
end repeat | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment