Project

General

Profile

Actions

$msfile » History » Revision 2

« Previous | Revision 2/5 (diff) | Next »
Per Amundsen, 12/14/2019 10:00 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 4 years ago · 2 revisions

Also available in: PDF HTML TXT