Rose's OF to calendar script question

I use @RosemaryOrchard’s OF to calendar script to plot all items in my calendar

Over the last few weeks I’ve been playing with my raspberry pi and MagicMirror2

I;m using an old iPad in kiosk mode to show the resulting magic mirror page.

What I’d like to be able to do is add items to a specific calendar to display on there, but not sure of her script can be amended to only add items with a specific tag? Has anyone played around with it?

I don;t want to show all items from OF, since that also includes work related tasks.

For anyone who might come across this later, Rosemary’s script is here:

I’m far from an AppleScript expert, but I believe if you change the line that currently says

set task_elements to flattened tasks whose ¬


set task_elements to tasks in flattened tag "🏠 Home" whose ¬ (or whatever tag you want to use)

then this might achieve what you want. :slight_smile:


I’ll try that! Thanks! Will update the post if this works