Project

General

Profile

$sfile » History » Version 4

Per Amundsen, 08/11/2015 06:57 AM

1 1 Per Amundsen
_Added in 1.9.0_
2
3 3 Per Amundsen
*$sfile(file,[title],[oktext])*
4 1 Per Amundsen
5
Displays the select file dialog and returns the selected file.
6
7
*Parameters*
8 3 Per Amundsen
file - Start filename filter in the file dialog.
9 4 Per Amundsen
[title] - Dialog title text. (optional)
10
[oktext] - TODO (optional)
11 1 Per Amundsen
12
*Example*
13
14
<pre>
15
; Open the file dialog.
16 2 Per Amundsen
//echo -ag $sfile(*.*,Select File)
17 1 Per Amundsen
</pre>