Applescript or Automator to bulk delete Outlook calendar items older than X months or years?

%3CLINGO-SUB%20id%3D%22lingo-sub-420145%22%20slang%3D%22en-US%22%3EApplescript%20or%20Automator%20to%20bulk%20delete%20Outlook%20calendar%20items%20older%20than%20X%20months%20or%20years%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-420145%22%20slang%3D%22en-US%22%3E%3CP%3ESome%20searching%20has%20led%20me%20to%20believe%20that%20Outlook%20is%20scriptable%20using%20AppleScript.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20wondering%20if%20it%20would%20be%20possible%20to%20create%20a%20script%20that%20will%20ask%20for%20a%20length%20of%20time%2C%20or%20a%20date%2C%20and%20then%20delete%20all%20calendar%20items%20in%20Outlook%20that%20are%20older%20than%20that%3F%20And%20if%20so%2C%20are%20there%20any%20AppleScript%20experts%20here%20who%20could%20help%20do%20that%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22%22%3EThanks%2C%3C%2FP%3E%3CP%20class%3D%22%22%3EScott%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-420145%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMac%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOutlook%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Visitor

Some searching has led me to believe that Outlook is scriptable using AppleScript.

 

I'm wondering if it would be possible to create a script that will ask for a length of time, or a date, and then delete all calendar items in Outlook that are older than that? And if so, are there any AppleScript experts here who could help do that?

 

Thanks,

Scott

1 Reply
Hi @scottmcc

There are some repositories with AppleScript examples that may contain solution or direction.
Take a look at this link: https://gist.github.com/talkingmoose