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?