Skip to content
Advertisement

How can I get color from CalendarEvent object on google apps script?

I want to get the color(red) below the picture.

enter image description here


I use next code, but I don’t know next step.

run main function.

JavaScript

Advertisement

Answer

First of all you need to enable the Advanced Google Services.

Please see here description how do that.

Then the following code will do the job

JavaScript
User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement