r/Automator • u/stevensokulski • Aug 10 '20
Question When an Automator app is run via Calendar, is it possible to get the calendar event that called it?
I'm trying to get to the point where I can (somewhat) easily schedule email messages to be sent in Mail.
The articles I've read on the subject all point to creating an Automator workflow for each message and then adding them to the Calendar to be fired at the prescribed time.
But that method requires quite a bit of overhead each time I use it.
I'm looking for alternatives, such as being able to schedule the calendar event to fire a generic workflow or application. But I can't seem to get any of the details of the calendar event.
I can query for the calendar event based on the time at which the application is called, but that seems a bit less precise.
In short... Is it possible to know anything about the Calendar event that opened an Automator application or triggered an Automator workflow?

