The Message command allows you to display various types of messages with the corresponding buttons. You can also define your own set of buttons.

Specify message type. For each type, the corresponding icon and set of buttons are shown. The default buttons and the value to be returned when you click on the button are listed below.

  • Question. Buttons: Yes(yes), No(no).
  • Information. Button: OK(ok)
  • Warning. Buttons: OK(ok), Cancel(cancel).
  • Error. Buttons: Repeat(retry), Abort(abort), Ignore(ignore)

Message text. You can use HTML in the body of your message.

1This is a message with <span style="color: #00f"><b>custom buttons</b></span>!

Result Variable
Specify the name of the variable that will be assigned the value of the button clicked by the user.

Custom buttons

You can create your own set of buttons for your message. In this case, the default buttons will be hidden.

Enter the name of the button.

Specify the value of the button that will be written to Result variable when this button is pressed.

Download sample script

The result of the script

Online Demo
Downloads Documentation Scripts Support