Run Version 8 (Net)
Action group: Processes
Description
Launches the specified workflow
Action icon
Settings of parameters
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Set process | Defines how to identify the process. | Robin.String | Yes | |
Process file | Path to the process file. | Robin.FilePath | No | |
Process name | Name of the process to start. | Robin.String | No | |
Arguments | List of arguments with which to start the process. Specified through a space. If the parameter itself contains spaces, then the parameter is enclosed in double quotes. | Robin.String | No | |
Wait for start | Wait for the process to start. False is default. If the value is False, the robot will continue working after the process is started. If - True, the robot will be waiting for the launch. | Robin.Boolean | true | No |
Results | ||||
PID | ID of the running process. The PID will be received only if the «Wait for the process to start» checkbox is true. | Robin.String |
Special conditions of use
Any file can be run, and the file will open in the associated application.
For example, launching a doc file will open Word. However, the group is not intended for further work with Word and Excel, because the document context is not created.
To work with this type of files, it is necessary to use specialized groups.
Example of use
Task
Launch Notepad and enter the text "Hello, world!"
Solution
Use the actions "Run", "Keyboard input".
Implementation
- Assemble a robot scheme consisting of actions:
2. Set the parameters for the "Run" action.
3. Set the parameters for the "Keyboard input" action. The procedure for obtaining a win element is described in this section Obtaining a win element (Получение win-элемента)
4. Click on the "Start" button in the top panel.
Result
The program robot completed successfully.
The notepad.exe workflow is running, and text has been added to notepad.