FILE DIALOG SHOW

From Macros Wiki
Jump to: navigation, search

Up

Command

FILE_DIALOG_SHOW <state>, <filename>


Display a file dialog to ask for the name of a file to be opened or saved.
Use with FILE_DIALOG_NEW and FILE_DIALOG_EXTENSION to define the file dialog.

Parameters

<state>
OPEN or SAVE. To open an existing file (OPEN), or create a new file (SAVE).
<filename>
Text variable to be set to the name of the selected file.

Example

FILE_DIALOG_SHOW OPEN f$
For an example macro see Get_Op_Tool_Path Print_Geo_Data_To_File Run_Post