I use a Dato, a nice menubar calendar replacement app which allows to run a shortcut when joining a scheduled call from the app. Scheduled calls are calendar events with zoom/webex/whatever links.
Now, I’d like to set up a shortcut that sets a “do not disturb”-style focus until the end of the event. This is easy enough to do with macOS calendar app, but I have not found a way to get, using shortcuts or applescript, both the start and end dates of the current Fantastical event.
Any ideas?
P.S. I know I can set up a Focus when a particular calling app is open, but that’s not exactly what I want here.
Is Fantastical drawing on a common calendar you can access in Calendar? I haven’t used it on Mac for a rather long time, but I certainly used to use the common calendaring database for the accounts added to it.
That way you can access the same events via the Calendar actions.
Failing that, looping over the potentially matching Fantastical events In Shortcuts and processing them should work fine. I reckon something along these line should be sufficient.