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.
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:
Select Open file dialog, Save file dialog, or Browse for folder dialog.
In the Title box, enter the text to be displayed in the title bar.
In the Populate variable with result box, select the variable to populate.
Click the Advanced tab.
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
To specify the initial folder to open, click the Open Folder button next to the Initial folder box and navigate to the folder.
In the On cancel box, select the action to take if the user clicks Cancel. The options are:
Continue: continues the task
Stop: stops the task, but does not register a step failure. Error handling is not triggered.
Fail: causes the step to register as failed, and initiates error handling.
To set the Description tab properties, refer to Description Tab Options.
To set the Error Causes and On Error tab properties, refer to Step Error Handling.
When finished, click OK to save settings and close the properties dialog window.
Adding Task Steps
Common Dialog Action