AppleScriptive
AppleScriptive copied to clipboard
Add AppleScript/JXA to return current running event and minutes left until the next event
I mentioned it on KM Forum once in private message with you but you never got to reply with the working answer. Would be awesome if you could take a look at it again.
Ideally the script would only consider events from certain groups only. i.e. I have in Google Calendar event group called 'Routine', this shouldn't be considered in the event searching but my other group (i.e. Events') should be considered.
Thank you. 🧡
Found this article https://andrewchidden.com/long-live-the-macbook-pro-with-touch-bar/
And it has Next Calendar Event action. We can maybe modify that to achieve the <current-event> : <next-event>:<time-until-next-event>> script
Trying to solve this but I think I need some AppleScript help 😞
@ChristoferK Let me know if you got some time. Would really appreciate it.
Opened issue on KM Forum instead
https://forum.keyboardmaestro.com/t/help-write-applescript-jxa-to-return-current-event-running-and-time-until-next-event/13894/2
@nikitavoloboev I have just seen this thread and reopened the issue as GitHub will be the first place I share updated scripts. Apologies for neglecting this and being difficult to get in contact with. Personal circumstances have been affecting my time and my focus, and trying to take on lots of other things was a distraction and a compensation mechanism too.
Will queue this for attention and will write the whole thing from scratch having analysed the original and deciding on a different approach.