FILE DIALOG SHOW: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
New page: {{Command|syntax=FILE_DIALOG_SHOW <state>, <filename> |description=*DESCRPTION* |param1=<state>|param1_desc= |param2=<filename>|param2_desc= }} ===Example=== :- FILE_DIALOG_SHOW [[Categ... |
No edit summary |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[[:Category:Miscellaneous|{{Up}}]] | |||
{{Command|syntax=FILE_DIALOG_SHOW <state>, <filename> | {{Command|syntax=FILE_DIALOG_SHOW <state>, <filename> | ||
|description= | |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. | |||
|param1=<state>|param1_desc= | |param1=<state>|param1_desc=OPEN or SAVE. To open an existing file (OPEN), or create a new file (SAVE). | ||
|param2=<filename>|param2_desc= | |param2=<filename>|param2_desc=Text variable to be set to the name of the selected file. | ||
}} | }} | ||
===Example=== | ===Example=== | ||
: | :FILE_DIALOG_SHOW OPEN f$ | ||
:For an example macro see [[Get_Op_Tool_Path]] [[Print_Geo_Data_To_File]] [[Run_Post]] | |||
[[Category: | [[Category:Miscellaneous]] |
Latest revision as of 15:01, 19 August 2010
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