FILE DIALOG EXTENSION
From Macros Wiki
Jump to navigationJump to search
Command
- FILE_DIALOG_EXTENSION <description>, <extension>
- Define what type of files can be used with a file dialog that has been created using FILE_DIALOG_NEW.
- Use multiple FILE_DIALOG_EXTENSION commands, one for each type of file.
Parameters
- <description>
- File type description
- <extension>
- File type extension
Example
- FILE_DIALOG_EXTENSION "Text files (*.txt)", "txt"
- FILE_DIALOG_EXTENSION "All files (*.*)", "*"
- For an example macro see Get_Op_Tool_Path Print_Geo_Data_To_File Run_Post