FILE DIALOG SHOW: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
MikeO (talk | contribs)
No edit summary
ConnerO (talk | contribs)
No edit summary
 
Line 2: Line 2:


{{Command|syntax=FILE_DIALOG_SHOW <state>, <filename>
{{Command|syntax=FILE_DIALOG_SHOW <state>, <filename>
|description=Display a file dialog to ask for the name of a file to be opened or saved.<br>
|description=: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.
:Use with [[FILE_DIALOG_NEW]] and [[FILE_DIALOG_EXTENSION]] to define the file dialog.


|param1=<state>|param1_desc=OPEN or SAVE. To open an existing file (OPEN), or create a new file (SAVE).
|param1=<state>|param1_desc=OPEN or SAVE. To open an existing file (OPEN), or create a new file (SAVE).

Latest revision as of 15:01, 19 August 2010

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