I know it still is in beta, but removing the calendar works like a charm, so I was wondering if it would be possible to allow Scriptable access to the calendar.
I’m not getting a prompt and in System Preferences, click Security & Privacy, then click Privacy, doesn’t list Scriptable. And I see no way of adding it manually.
I tested your script on both iOS and macOS. It seems to be exactly as you described: the only place where no calendar events are returned is in the Notification Center on macOS. It works perfectly everywhere else. I can’t find any flaws in your code. (I also did some more direct testing of the CalendarEvent methods that you’re using to get the calendar events; they are returning empty arrays. I didn’t test the rest of the event retrieval methods exhaustively, but those that I did test seem to have the same issue.)
Unfortunately, I think this is just a beta bug that we’ll have to wait for Simon to fix. I can’t think of any way around the issue. Time to submit feedback.
Thanks, I thought it was me. Yeah, I fixed it for now by placing the normal calendar widget in my notification center, because there is enough space on my desktop screen.
Is there a dedicated macOS bug report channel? I don’t need it fixed this instance, but would love to write up a report on how to reproduce it and just log it some where.