10. confirm
Prev | Chapter 6. Commands written in the Java™ programming language | Next

## 10. confirm

Parameter syntax:

    message

Displays a dialog box containing the message specified by command parameter and requesting the user to confirm an action. If the user clicks on the OK button, the action is to be performed. If the user clicks on the Cancel button, the action is to be canceled.

This command is useful when writing interactive macro-commands.

Example:

    confirm Convert selected text to computeroutput?

Prev | Up | Next
9. checkValidity | Home | 11. contextualMenu