openfolderdialog
Shows a folder picker.
Syntax
openfolderdialog(title?: string) -> nil
Parameters
| Parameter | Type | Description |
|---|---|---|
title? | string | The title value used by the call. |
Returns
| Type | Description |
|---|---|
nil | This function does not return a value. |
Description
openfolderdialog is part of the Dialogs library. Dialog helpers call native Windows pickers. The call blocks until the user chooses a path or cancels.
The operation is performed immediately using the arguments supplied at the call site.
Example
print(openfolderdialog("Choose a folder"))
Notes
- The dialog blocks until the user selects a path or cancels.