Project

General

Profile

$sfile » History » Version 6

Per Amundsen, 02/23/2023 07:44 PM

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 6 Per Amundsen
9
table(ktable).
10
|*Parameter*|*Description*|
11
| file | Start filename filter in the file dialog. |
12
| [title] | Dialog title text. (optional) |
13
| [oktext] | *TODO* (optional) |
14 1 Per Amundsen
15
*Example*
16
17
<pre>
18
; Open the file dialog.
19 2 Per Amundsen
//echo -ag $sfile(*.*,Select File)
20 1 Per Amundsen
</pre>