Shorthand function for the ExtendScript default Window.confirm()
. For applications other then RoboHelp, you can use either confirm()
or Window.confirm()
. This shorthand is added because RoboHelp doesn't support it out of the box.
if(confirm("Shall I continue?")) { //Do something if confirmed }
Parameter | Data type | Required | Description |
---|---|---|---|
message | string | True | The string for the displayed message |
noAsDflt | boolean | When true , the No button is the default choice. Default is false , meaning that Yes is the default choice. |
|
title | string | A string to appear as the title of the dialog, if the platform supports a title. The default title string is Script Alert |
Value | Meaning |
---|---|
true | The user selected Yes |
false | The user selected No |