Not so good at English, so sorry if I say something wrong.
I wrote a script that run correctly in scriptable, which collects event from a target calendar, then display those time infos in a line chart.
It do looks good in iOS and iPadOS, I can use it as a widget and put it on my screen,but when I try to do samething on my mac,it just say “could not find calendar whit title ‘test’”,it’s not a big deal,but does anyone know about this thing,I try to make all those devices feel same.
Here is my code:
var cal = await Calendar.forEventsByTitle("test")