Added in 1.9.0

$sfile(file,[title],[oktext])

Displays the select file dialog and returns the selected file.

Parameters

Parameter Description
file Start filename filter in the file dialog.
[title] Dialog title text. (optional)
[oktext] TODO (optional)

Example

; Open the file dialog.
//echo -ag $sfile(*.*,Select File)