I was trying a google script to automatically change certain google calendar entries from “busy” to “free”. Online recommendations as well as ChatGPT suggested “e.setVisibility(CalendarApp.Visibility.FREE);”, but the debugger doesn’t accept the variable. It only accepts CONFIDENTIAL, DEFAULT, PRIVATE, and PUBLIC; not BUSY or FREE. Any suggestions?
New contributor
Serge Jonnaert is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.