Project

General

Profile

$msfile » History » Version 1

Per Amundsen, 08/13/2015 11:13 AM

1 1 Per Amundsen
_Added in 1.9.0_
2
3
*$msfile(dir,[title],[oktext])*
4
5
Displays the multiple select file dialog and returns the number of selected files.
6
7
*Parameters*
8
9
dir - Starting folder in the file dialog.
10
[title] - Dialog title text. (optional)
11
[oktext] - TODO  (optional)
12
13
*Example*
14
15
<pre>
16
; Select some files and print the number of selected files.
17
//echo -ag Number of selected files is $msfile($adiircdir, Select Files)
18
</pre>
19
20
-----------------------------------------------------------------------------
21
22
*$msdir(N)*
23
24
Returns the Nth file from the last [[$msfile]] selection.
25
26
*Parameters*
27
28
N - If N = 0, number of selected files, otherwise the Nth selected file.
29
30
*Example*
31
32
<pre>
33
; Select some files.
34
//noop $msfile($adiircdir, Select Files)
35
36
; Print the first selected file.
37
//echo -ag First selected file was $msdir(1)
38
</pre>