app.confirmDialog

Syntax app.confirmDialog (string)

Params string is the message you want displayed in the dialog box.

Action Displays the string in a modal dialog box, waiting for the user to click on OK or Cancel.

Returns True if the user clicked on OK, false if Cancel.

Examples app.start ("MinApp"); app.confirmDialog ("Erase your entire hard disk?")

   » false

app.start ("MinApp"); app.confirmDialog ("Back up your entire hard disk?")

   » true

Platform Notes This verb is only implemented in the Mac OS version of Frontier.

Notes This verb allows script writers to confirm an action with the user without forcing the scripting system to the front.

If the application isn't the frontmost application it brings itself to the front before displaying the dialog.

See Also app.alertDialog

app.askDialog

app.enableDialogs

Discuss