Shorthand function for the ExtendScript default Window.confirm(). Normally, you can use either confirm() and Window.confirm(). This shorthand is added because RoboHelp doesn't support the shorthand.
The function confirm() is located in the file misc.jsxinc.
Usage
if(confirm("Shall I continue?"))
//Do something if confirmedParameters
| Parameter | Data type | Required | Description |
|---|---|---|---|
| message | string | ![]() |
The string for the displayed message. |
| noAsDflt | boolean | When true, the No button is the default choice, selected when the user types ENTER. 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”. |
Return values
| Value | Meaning |
|---|---|
| true | The user confirmed the message. |
| false | The user did not confirm the message. |

