Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Useful for when an admin needs to add a list of "safe" addresses to a user's Contacts but wants to keep them separate from the user's own contacts.
tell application "Microsoft Outlook"
make new address book in exchange account 1 with properties {name:"Company Contacts"}
make new contact with properties {first name:"Martin", last name:"Moose", email addresses:{{address:"", type:work}, {address:"", type:home}}} at address book "Company Contacts" of exchange account 1
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.