I have a very simple bound script. The script works great, but if i share the sheet, editors have to trigger the script manually for the first time (in order to get auth dialog).
Is there a way i can trigger this dialog automatically? The sheet does not work properly without it.
I was thinking of setting a ridiculous "RUN THE SCRIPT!" text I would delete when the script is run for the first time, but that does not seem like an elegant solution.
onOpen(). So, when the sheet is opened, it will automatically run theonOpen()function. - Alan Wells