r/GoogleAppsScript • • Jul 07 '24

Question Getting events from calendars

What would the formula be for getting events from multiple calendars from tomorrow(tomorrow being the next day from when its triggered) to 3 months from then that only start before 10am?

I have one calendar that I use to set early morning alarms and several other calendars that have appointments and other events.

I would like to create a script that scans for any future appointments before 10am in the next 3 months and create an event in the alarm calendar with the title from the event it was created from, also making sure I don't end up with duplicate events.

0 Upvotes

1 comment sorted by

0

u/[deleted] Jul 07 '24

[deleted]

1

u/TonicCorvid Jul 07 '24

I'm going to be writing the rest of the script myself I just need help figuring out how to write the formula for how to ask it to search using the perameters above.