Dieter - thanks for this script. I have absolutely NO experience in running this sort of thing, so wondered if you would be so kind as to make it absolutely idiot proof.
I have copied it, and from what I can tell, the main areas I need to edit are primarily lines 24-30.
I go to Outlook and get the URL link for my calendar. I edit the script literally as follows in red (actual file names edited for privacy)
var sourceCalendars = ["https://outlook.office365.com/owa/calendar/??myoutlookfilename??/calendar.ics","Al from Oz (Outlook)" // The ics/ical urls that you want to get events from along with their target calendars (list a new row for each mapping of ICS url to Google Calendar)
// For instance: ["https://p24-calendars.icloud.com/holidays/us_en.ics", "US Holidays"]// Or with colors following mapping https://developers.google.com/apps-script/reference/calendar/event-color,// for instance: ["https://p24-calendars.icloud.com/holidays/us_en.ics", "US Holidays", "11"]["https://calendar.google.com/calendar/embed?src=??mygooglefilename??", "Al from Oz"],["icsUrl2", "targetCalendar2"],["icsUrl3", "targetCalendar1"]
I also edited the frequency of checking. When I run it, the only thing it seems to do is adjust the frequency of checking. And there is no information appearing in the Google calendar. I must be missing something simple.
Can you please spell it out for me? Thanks so much for your script and effort in resolving this for ppl.
Al from Oz