← All built-ins / ui_pick_folder()

ui_pick_folder()

ui_pick_folder(...$args): mixed

Parameters

NameTypeDescription
$titlestringdialog title

Return value

Chosen folder path, or false when cancelled.

Example

echo "$d = ui_pick_folder("Choose workspace");";
$d = ui_pick_folder("Choose workspace");

This call needs a real environment (window, server, database or stdin) — the snippet above shows the typical usage shape.

See also

ui_open_file()