Skip to main content

Prompt for folder

Ask the user to choose a folder.

Command in the Mouse and keyboard toolkit · id ooa.desktop/prompt_folder · 5 inputs, 2 outputs

Inputs​

InputTypeRequiredDefaultWhat it is
TitleStringNoChoose a folderTitle shown in bold at the top; the window's title is the agent's name unless you change this.
Start folderFileNoFolder to start in.
Timeout (seconds)NumberNo0Give up after this many seconds; 0 waits.
Always on topBooleanNotrueKeep the dialog in front of other windows.
MessageStringNoText shown in the dialog above the list, e.g. what to choose and why.

Outputs​

OutputTypeWhat it is
pathFileChosen folder, empty when cancelled.
cancelledBooleanTrue when cancelled or timed out.