Open a Select Files dialog to select multiple files. To facilitate selection from a large number of files, the dialog includes File Filter and Path controls, plus sorting.
X-Function not designed for Auto GetN Dialog
1. dlgPickFiles fname:=filelist$;
Please refer to the page for additional option switches when accessing the x-function from script
The string that will receive path and name of the user's chosen files, separated by CRLF.
This X-Function opens a Select Files dialog for selecting one or more files and store the selected file path and name into a string variable.
filelist$="C:\Program Files\OriginLab\Origin2022b\Samples\Import and Export\F1.dat"; //provide an initial file path for dialog