$msfile » History » Revision 2
Revision 1 (Per Amundsen, 08/13/2015 11:13 AM) → Revision 2/5 (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* TODO (optional) *Example* <pre> ; Select some files and print the number of selected files. //echo -ag Number of selected files is $msfile($adiircdir, Select Files) </pre> ----------------------------------------------------------------------------- *$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* <pre> ; Select some files. //noop $msfile($adiircdir, Select Files) ; Print the first selected file. //echo -ag First selected file was $msdir(1) </pre>