I have been using Events in Fantastical but it has stopped working on my iPad (IOS 26.5 Fantastical 4.1.13).
My script has one additional line to make it run without user interaction.
When the action is run the correct Calendar is selected but I have to press on the calendar which is presented before the script continues. Any thoughts how I could trouble shoot this - I am at a loss? Or is there now a better way of bulk adding events to Apple Calendar?
Thanks
// split draft into lines
const lines = draft.content.split("\\n");
const baseURL = "fantastical2://x-callback-url/parse";
// loop over lines and send each to Fantastical
for(var line of lines) {
if (line.length == 0) { continue; }
// create and configure callback object
var cb = CallbackURL.create();
cb.baseURL = baseURL;
cb.addParameter("sentence", line);
cb.addParameter("add", "1");
// open and wait for result
var success = cb.open();
if (!success) {
if (cb.status == "cancel") {
context.cancel();
break;
}
else {
context.fail();
break;
}
}
}
Nothing wrong with the URL, this has to be a bug in Fantastical’s URL scheme implementation. It would be good to file a report with Flexibits’ support. I suspect they inadvertently broke something the parsing implementation.
As for creating events, there are many ways to do that from Drafts, but if you rely on particular aspects of Fantastical’s natural language parsing, they might not be good substitutes. You might look at theseexamples from the directory as possibilities.
I suspect the “events” action could also be recreated in Shortcuts.
Does “fantastical2://” still work, or is that dependent on the version of Fantastical you’ve got installed? Support docs point towards “x-fantastical3://”
Good news, I finally heard back from Flexibits:
"
Hi Jonathan,
Thank you for your patience!
Our team has found a fix and it was just released today in version 4.1.14.
"
I have tested and this action runs without the Fantastical pop-up now. So, that’s good, I can now add tons of calendar entries automatically via this route with no user interaction.
I was trying to input some events into Fantastical today, and I wonder if it was the same issue.
I had four different events on four separate lines, and when I tried to run the built-in Drafts action, it put all four events on the same day. This is the first time I’ve tried to do this, and I wasn’t sure if I needed Drafts Pro to run an action like that, but now I see it might have been the Fantastical bug.
Instead, I updated Fantastical for iOS, and it’s still doing the same thing. I feel like I must be doing something wrong.