[Macpartners] change resource & delegate calendar colors?
Teddy Thomas
tthoma24 at mit.edu
Thu Dec 7 17:40:15 EST 2017
Hey Aran-
The way I accomplished this in the past was using AppleScript. Stu Peloquin had given this little gem to me a ways back (Thanks Stu!).
tell application "Calendar"
set calnum to (count every calendar)
repeat with currentnum from 1 to calnum
set the color of calendar currentnum to {red, green, blue}
end repeat
end tell
I haven’t touched this in a while, so I don’t know if it works on macOS Sierra or High Sierra, and I don’t have any Exchange resources handy to test, but I think the way this works is that it sets every calendar to the RGB values you fill in for red, green, and blue, but it should be trivial to make it do it only for a particular calendar if you can figure out how the counting works. Good luck!
-Teddy
> On Dec 7, 2017, at 2:47 PM, Aran M Parillo <aran at mit.edu> wrote:
>
> Dear MacPartners,
>
> I’d like to be able to advise people on how to adjust the color of a resource (or delegate) in the app Calendar. It seems that this is not readily possible in 10.12.6 w/Calendar 9.0 connected to MIT Exchange. By control+command clicking on my own Calendar, I can easily select the intended color. This same action is not possible for resources/delegates.
>
> Being able to easily discriminate calendars by color is crucial for folks handling room reservations and delegates so I’m happy to hear any “under the hood” suggestions and/or tips, just give me a reason to dust off my vi skills.
>
> Thank you kindly and happy nearly end of Fall Term.
> Aran
>
>
>
> _______________________________________________
> Macpartners mailing list
> Macpartners at mit.edu
> http://mailman.mit.edu/mailman/listinfo/macpartners
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/macpartners/attachments/20171207/57015d55/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: Message signed with OpenPGP
Url : http://mailman.mit.edu/pipermail/macpartners/attachments/20171207/57015d55/attachment.bin
More information about the Macpartners
mailing list