searchfiles(dir,pattern : string)

Navigation:  User guide > OLE automation > Methods >

searchfiles(dir,pattern : string)

Previous pageReturn to chapter overviewNext page

Executes a dialog to select multiple files that can be used afterwards for CODE actions.

In 'dir' you can provide the intial path for the search, 'pattern' specifies a filename search pattern.

 

The selected filenames can be used afterwards using the functions 'foundfiles' and 'found_filename'.