Message Window#

Show the User a modal dialog window with a specified title, text, and a set of buttons. If a window with multiple buttons is used, the block allows you to store in a variable a text constant corresponding to the button pressed by the User.

Title[Text] The text, variable value, or calculation result that will be displayed in the dialog window's title.
Message[Text] The text, variable value, or calculation result that will be displayed inside the dialog window.
ButtonsButtons that will be available for the User to press.
ImageAn image that will be displayed in the dialog window.
Timeout[Number] The timeout duration. If a value greater than zero is specified, the window will automatically close after this time. The first value from the specified "Buttons" property will be recorded in the "Result" property.
Line BreaksEnables line breaks in the message.
Result

[Text] A variable that will store the name of the button pressed by the User. Possible results include:

  • OK,
  • Cancel,
  • Yes,
  • No.

These text constants are independent of the Robot's language or operating system.

Error Handling Level

Select the error handling level. Possible values:

  • "Default" - default;
  • "Ignore" - errors are ignored;
  • "Handle" - errors are handled.

If "Default" is selected, the value from the "Start" block of this diagram will be used.

Message Level

Select the message level that blocks will output during operation. Possible values:

  • "Default" - default;
  • "Release" - output is disabled;
  • "Debug" - main information output;
  • "Detailed" - detailed information output.

If "Default" is selected, the value from the "Start" block of this diagram will be used.

Error Text[Text] Returns detailed information about the error in case of incorrect execution of the block's work.