searchfiles(dir,pattern : string)

Navigation:  Ole automation > Automation object methods >

searchfiles(dir,pattern : string)

Previous pageReturn to chapter overviewNext page

Executes a dialog to select multiple files that can be used afterwards for SCOUT 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'.