$msfile » History » Revision 3
Revision 2 (Per Amundsen, 12/14/2019 10:00 AM) → Revision 3/5 (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* <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 $msfile(1) $msdir(1) </pre>