Project

General

Profile

Actions

$msfile » History » Revision 3

« Previous | Revision 3/5 (diff) | Next »
Per Amundsen, 07/20/2022 09:14 PM


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 $msfile(1)

Updated by Per Amundsen almost 2 years ago · 3 revisions

Also available in: PDF HTML TXT