Definition and Usage
Displays a folder selector dialog for the user to select a folder and returns the selected folder path. This command creates an interactive dialog that allows users to browse through their file system and select a specific folder.
Parameter Values
Input parameters
Parameter | Description | Possible Values | Required | Options / Notes |
Title | Enter the title to display on the dialog | Text string | Yes | Leave empty to use the default title "Please select a folder" |
Advanced settings
Parameter | Description | Possible Values | Required | Options / Notes |
Initial directory | Optional. Leave empty to open the last used directory | Valid folder path | No | Specifies the starting directory when the dialog opens |
Error handling
Parameter Name | Description |
Throw error & stop | When an error occurs, the action will trigger an error and stop the execution of the entire app. |
Retry command | If an error occurs, the action will retry the command in an attempt to resolve the issue and continue the process. |
Ignore error & continue | When an error occurs, the action will be ignored, and the workflow will continue without interruption. |
Variables produced
This command produces a variable containing the selected folder path. The variable name is specified in the "Store folder path into" parameter and will contain a string representing the complete path to the selected folder.
Using Variables in Conditions
You can use variables in parameters by clicking the {x} icon next to the input field. This allows you to dynamically set values like the dialog title or initial directory based on previously defined variables. For example, you could use a variable to set the initial directory based on user preferences or application settings.
Notes
The user must select a folder for the command to complete successfully. If the user cancels the dialog, an error will be triggered.
This command is useful for workflows that need to operate on user-selected folders, such as file processing, backup operations, or data import/export tasks.
The folder selection dialog is modal, meaning the automation will pause until the user makes a selection or cancels the dialog.