Check existence Version 7 (Python)
Action group: File system
Description
This action is intended to check if the folder is available.
Action icon
Parameters and settings
Property | Description | Type | Filling example | Mandatory field |
---|---|---|---|---|
Parameters | ||||
Folder | The path to the folder to which the action will be applied. | Robin.FolderPath | C:\Users\Test | Yes |
Timeout, ms | The time given to check if the folder is present. This is set in milliseconds. | Robin.Numeric | 10000 | No |
Results | ||||
Result | A boolean variable whose value is True if the specified folder exists, otherwise it is False. | Robin.Boolean | true |
Special conditions of use
None.
Example of use
Task
There is a variable "Path to folder", which specifies the path to the folder. It is necessary to check if the folder exists.
Solution
Use the "Check existence" action.
Implementation
- Move the "Check existence" action to the workspace.
- Set the parameter for the "Check existence" action.
- Click on the "Start" button in the top panel.
Result
The program robot completed successfully. The folder exists.
Обзор
Инструменты контента