Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Confirm dialog method in GoogleAppsScript.
function confirm (mes){
var res = Browser.msgBox(mes, Browser.Buttons.OK_CANCEL);
if (res === "ok"){
return true;
} else {
return false;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment