I would like to programmatically create a repeating event. I'm using Automator and it seems that Automator can't do this, plus I want to pass variables provided by the user into the event creation process so I'm guessing I need to do it in AppleScript instead. Trouble is I haven't been able to find information on how to do that.
How can I create a recurring event in Automator using AppleScript (or really any other way would be worthy of note as well)?
Best Answer
I was unable to get all the way to my ultimate goal of creating repeating calendar events with open file alerts. But, i did at least solve this question of how to create a repeating calendar event in AppleScript, so here it is.
The main issue is that you can't actually create a repeating event. You have to create a static event, then modify that event to repeat. Here's the code that is working for me:
If you don't have a local calendar called "Automator", then this might give you problems, I'm not sure. Feel free to change the calendar name if needed.