Skip to content

Instantly share code, notes, and snippets.

@talkingmoose
Created November 29, 2015 01:43
Show Gist options
  • Save talkingmoose/7eddc2456fda33b2c985 to your computer and use it in GitHub Desktop.
Save talkingmoose/7eddc2456fda33b2c985 to your computer and use it in GitHub Desktop.
Deletes any selected items (messages, events, contacts, etc.) from Outlook.
tell application "Microsoft Outlook"
set theSelection to the selection
repeat with anItem in theSelection
delete anItem
end repeat
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment