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

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
FolderThe path to the folder to which the action will be applied.Robin.FolderPath    C:\Users\TestYes
Timeout, msThe time given to check if the folder is present. This is set in milliseconds.Robin.Numeric    10000No
Results
ResultA boolean variable whose value is True if the specified folder exists, otherwise it is False.Robin.Booleantrue

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 folder existence" action. 

Implementation

  1. Move the "Check folder existence" action to the workspace. 

  2. Set the parameter for the "Check folder existence" action. 
  3. Click on the "Start" button in the top panel.

Result

The program robot completed successfully. The folder exists. 

  • Нет меток