I am able to retrieve Google calandar events for 'Other calandars', but I cannot retrieve calendar events for 'My calandars'. Specifically, I would like to retrieve events individually from 'Birthdays' and events from 'James Hocker'. (See available calandars from Google screenshot below)
The script I am using (that fails) for My calandars is:
Code:
allEvents = hs.PluginFunction("BLGData", "", "GetCalendarEventsForXDays", new Object(){"myemail@gmail.com","My calandars",0})
In the field where "My calandars" is, I have tried "My calandars", "James Hocker", "Birthdays", "My Calandar". Nothing works...I get an error that says 'GetCalendarEventsForXDays(): ​Calendars: My calendars does not exist for user in the plug-in'
-----------------------------------------------------------------------------------------------------------------------------
The following script works for the 'Other calandars' - "Holidays in United States"
Code:
allEvents = hs.PluginFunction("BLGData", "", "GetCalendarEventsForXDays", new Object(){"myemail@gmail.com","Holidays in United States",0})
The script I am using (that fails) for My calandars is:
Code:
allEvents = hs.PluginFunction("BLGData", "", "GetCalendarEventsForXDays", new Object(){"myemail@gmail.com","My calandars",0})
In the field where "My calandars" is, I have tried "My calandars", "James Hocker", "Birthdays", "My Calandar". Nothing works...I get an error that says 'GetCalendarEventsForXDays(): ​Calendars: My calendars does not exist for user in the plug-in'
-----------------------------------------------------------------------------------------------------------------------------
The following script works for the 'Other calandars' - "Holidays in United States"
Code:
allEvents = hs.PluginFunction("BLGData", "", "GetCalendarEventsForXDays", new Object(){"myemail@gmail.com","Holidays in United States",0})
Comment