Select Folder
Verb: selectFolder
Available from: <Standard>
Selects a folder using a Windows folder selection window and returns the path of the selected folder.
Syntax
selectFolder --text(String) (String)=value
Inputs
| Script | Designer | Required | AcceptedTypes | Description |
|---|---|---|---|---|
| --text | Text | Required | Text | Text that should appear in the Windows folder selection window. |
Outputs
| Script | Designer | AcceptedTypes | Description |
|---|---|---|---|
| value | Path | Text | Path of the folder that was selected. |
Example
The Select Folder command selects a folder on the computer and gets the path of the folder that was selected.
defVar --name folderPath --type String
selectFolder --text "Folder Selection" folderPath=value
logMessage --message "${folderPath}" --type "Info"