Set Notification Cancel Override

Shows or hides the X and Cancel buttons displayed in later “Ask For...” MP commands.

Input Arguments

 

0

Boolean

Prohibit Cancel?

Indicates whether the “X” and “Cancel” buttons should be visible.

 

Return Arguments

None.

 

Returned Status

 

SUCCESS

This command always succeeds.

 

Remarks

This is a state command—it sets the visibility state of the X and Cancel buttons for all future “Ask for ...” commands until the command is executed again to set the state to a different value.

This can be helpful in programming user interaction commands that require an entry from the user in order for the script to continue. It is not available for “Notify User” commands because these commands perform no action and always continue to the next step regardless of the button pressed.