2.14.1.4 dlgPickFiles


Brief Information

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.

Additional Information

X-Function not designed for Auto GetN Dialog

Command Line Usage

1. dlgPickFiles fname:=filelist$;

X-Function Execution Options

Please refer to the page for additional option switches when accessing the x-function from script

Variables

Display
Name
Variable
Name
I/O
and
Type
Default
Value
Description
fname

Output

string

fname$

The string that will receive path and name of the user's chosen files, separated by CRLF.

Description

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.

Examples

filelist$="C:\Program Files\OriginLab\Origin2022b\Samples\Import and Export\F1.dat"; //provide an initial file path for dialog
dlgPickFiles fname:=filelist$;

Related X-Functions

dlgFile