0

Browser.msgBox(prompt) gives a timeout error in Google SpreadSheet when the user does not press OK for a longer time.

I know I could use "toast()" , but with this option, the user will not be able to acknowledge the end of the execution and they might not know if the process has run or not.

What I would need is an option which does not timeout regardless the time until the user presses an OK button.

1 Answers1

1

When using Browser.msgBox(prompt) the script will pause at this line until the Ok button is pressed the script is still running and the 6-minute timer ticking away.

If you are just using this to notify the user that the script has finished and not as some input to the script I suggest you use the HTML service as this will allow the script to end but remain on the screen until it is acknowledged by the user.

James D
  • 3,102
  • 1
  • 11
  • 21