CFileDlg:new
The new method creates an instance of the CFileDlg class. You must call new before using any class methods or properties. Note that this object can also be created using the new_filedlg function.. The CFileDlg class creates a standard Open or Save dialog for gathering file names.
F = CFileDlg:new() Creates a new object. |
The following script creates a CFileDlg object and gets file names to open:
|
-- Create a new CFileDlg object, F |
|
-- get file names using dialog title "Open a File" |
|
-- do something with the files |
|
-- delete the object when no longer needed |
CFileDlg class, delete, Open, new_filedlg
Mira Pro x64 Script User's Guide, Copyright Ⓒ 2024 Mirametrics,
Inc. All Rights Reserved.