Show message Version 13 (net)
Action group: Dialogs
Description
This action is intended to display an information message to the user in the modal window.
Action icon
Settings of parameters
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Message Text | The text to be displayed in the modal window | Robin.Object | No | |
Window title | Modal window name | Robin.String | No |
Special conditions of use
An empty message can be used as a controlled pause in the robot's work.
The robot algorithm will continue after the user closes the modal window.
Example of use
Task
It is necessary to display a dialog box with the name "Error" and a description of the error in the body of the window.
Solution
Add a message.
Implementation
- Create a variable "Error" with type "String", which will contain the error text.
2. Open the "Dialogs" action group.
3. Move the "Show message" action to the Studio workspace and set up the action parameters:
4. Launch the robot using the "Start" button in the top panel.
5. A modal window with the specified parameters is displayed on the screen.
An empty message can be used as a controlled pause in the robot's work. The robot algorithm will continue after the user closes the modal window.
Result
The program robot completed successfully, the information message was displayed in the modal window.