Some time ago I wrote an iOS App to change the colors of my calendars. Nothing fancy; the App does not even have a GUI. It iterates over a list of hard coded (…) calendars and sets the color for each calendar (hex string). I have to change the source, recompile, reinstall, and run the App whenever I create a new calendar (I have quite a few)… Quite cumbersome!
This would be much easier in a Scriptable script. I know how to get all calendars and how to read (/write?) the color, but I don’t know how to persist my changes (if that’s possible at all).
(How) Can I update the
color property of a
Calendar object and persist that?