$sfile » History » Version 5
Per Amundsen, 12/14/2019 10:01 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 | 5 | Per Amundsen | [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> |