How to MsgBox - Google App Script
How to dialog in GoogleMethod
msgBox(prompt)
msgBox(prompt, buttons)
msgBox(title, prompt, buttons)
Buttons
OK Single “OK” button.OK_CANCEL “OK” and a “Cancel” button.
YES_NO “Yes” and “No” button.
YES_NO_CANCEL “Yes”, “No” and “Cancel” button.
Examples 1
Browser.msgBox("hello world");
function myFunction() {
Browser.msgBox( 'hello world');
}
Examples 2
function myFunction() {
Browser.msgBox( 'hello world' , Browser.Buttons.YES_NO);
}
Example 3
function myFunction() {
Browser.msgBox('First Dialog Box' , 'hello world' , Browser.Buttons.YES_NO);
}
Začal jsem trochu fušovat do Google scriptu ;) Tak si dělám poznámky on-line
OdpovědětVymazat