Command Reference - Dialog Actions
Displays either a "File Open" or a "Save As" dialog that allows the user to browse for a file. The full path to the selected file will then be stored in the variable of your choice. If the user cancels out of the dialog, "CANCEL" will be stored in the variable instead.
|
Action ID: |
54 |
Locations
The initial folder that will be displayed in the Browse For File dialog. If this folder does not exist, the dialog will open to the current working directory instead. Note that when the user selects a file, the current working directory is automatically set to the folder where the file they selected was located.
Leave this field blank if you want the user to be able to continue browsing from the same place next time. (If you leave this field blank, subsequent "Dialog - File Browse" actions will start at the same path that the user last selected.)
Enter a valid path in this field if you want the user to always start browsing from that path, no matter where they ended up browsing to before.
The file filters that the Browse For File dialog will use. These filters control which file types will be visible in the Browse For File dialog.
The file filters must use the following syntax:
LongDescription|Pattern|
|
Example: |
Executables (*.exe)|*.exe|Batch Files (*.bat)|*.bat| |
The default filename that will be displayed in the File name field on the Browse For File dialog.
The default file extension that will be added to the file name if no file filters are used.
Options
Controls whether the user can select more then one file by using the Shift or Ctrl key.
Toggles whether or not the file the user selects must already exists. This option is only available for the "File Open" dialog.
Dialog
The title for the Browse For File dialog window.
Variable
The variable that the full path to the selected file will be stored in.
If the user selects more than one file, a semicolon delimited list of full paths will be stored in this variable. If the user cancels out of the dialog, the word "CANCEL" will be stored in this variable instead.
Dialog Type
Controls which type of Browse For File dialog will be used. Both dialog types are nearly identical, however the "File must exist" option is only available for the "File Open" dialog type.
A Browse For File dialog for opening files. This dialog type will use the text "Open" on the 'select' button.
A Browse For File dialog for saving files. This dialog type will use the text "Save" on the 'select' button
|
Value |
Simple Message |
Verbose Message |
|
0 (OK) |
|
|