How to show a progress report to the user in Google Apps Script?

Posted by Jose M Vidal on Stack Overflow See other posts from Stack Overflow or by Jose M Vidal
Published on 2010-09-09T00:32:56Z Indexed on 2010/12/24 1:54 UTC
Read the original article Hit count: 526

I have a simple script that will send out a bunch of emails but these take time to send and I want to show the user a scrolling window with the emails addresses as they are sent (or, a progress bar would be good too). I believe this is possible with the new User Interface Classes, but I can't get it to work. The documentation is kinda sparse.

Specifically, the problem is that the GUI window that pops up appears blank until all the emails have been sent (the script ends) and then the text appears. This happens even if I call show(myapp) after every time I update the Label.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about google-apps-script