Project

General

Profile

Actions

$msfile » History » Revision 1

Revision 1/5 | Next »
Per Amundsen, 08/13/2015 11:13 AM


Added in 1.9.0

$msfile(dir,[title],[oktext])

Displays the multiple select file dialog and returns the number of selected files.

Parameters

dir - Starting folder in the file dialog.
[title] - Dialog title text. (optional)
[oktext] - TODO (optional)

Example

; Select some files and print the number of selected files.
//echo -ag Number of selected files is $msfile($adiircdir, Select Files)

$msdir(N)

Returns the Nth file from the last $msfile selection.

Parameters

N - If N = 0, number of selected files, otherwise the Nth selected file.

Example

; Select some files.
//noop $msfile($adiircdir, Select Files)

; Print the first selected file.
//echo -ag First selected file was $msdir(1)

Updated by Per Amundsen over 8 years ago · 1 revisions

Also available in: PDF HTML TXT