Common Dialogs Action—Setting Properties

The Common Dialogs action is used to create any of three standard Windows dialog boxes: Open file, Save file, or Browse for folder. The user's entry in the dialog box is used to populate a variable for use in subsequent steps. The variable must be created in an earlier step using the Create Variable action.

To set Common Dialogs properties

  1. From the Task Builder Available Actions pane, open the Dialog folder and double-click the Common Dialogs action or drag it into the Steps pane. The following properties dialog appears:

  1. Select Open file dialog, Save file dialog, or Browse for folder dialog.

  2. In the Title box, enter the text to be displayed in the title bar.

  3. In the Populate variable with result box, select the variable to populate.

  4. Click the Advanced tab.

  5. For Open file or Save file boxes, if you want to enter a mask for the file types that can be selected, make your entry in the Filter box using the following format: File Type Name(*.extension)|*.extension.

    Example: Word files(*.doc)|*.doc

  6. To specify the initial folder to open, click the Open Folder button next to the Initial folder box and navigate to the folder.

  7. In the On cancel box, select the action to take if the user clicks Cancel. The options are:

  8. To set the Description tab properties, refer to Description Tab Options.

  9. To set the Error Causes and On Error tab properties, refer to Step Error Handling.

  10. When finished, click OK to save settings and close the properties dialog window.

See Also

About Actions

Adding Task Steps

Common Dialog Action