Configuring the Execute Application command
In Task Assistant Manager, you can associate ArcMap commands with a step in the workflow. Task Assistant Manager contains prebuilt commands that may be useful during workflow creation.
The Execute Application command allows you to launch a file or application when a user executes a step in the task assistant workflow.
- Start ArcMap.
- If necessary, click the Task Assistant Window button on the Task Manager toolbar to display the Task Assistant window.
- Load a task assistant workflow.
- Click to highlight the step to configure in the Task Assistant window.
- Click the Designer tab.
-
Click the cell next to Commands and click the ellipsis (...) that appears.
The Command Item Editor dialog box appears.
- In the Categories list, click the Task Manager Utilities category.
- Double-click the Execute Application command.
The Execute Application command is listed as a Selected Command.
-
Click the Command Parameters button .
The Command Parameters dialog box appears.
- Click the ellipsis button (...).
- Navigate to the file or application you want to launch.
By default, the application filters for EXE applications.
- Change the Files of type drop-down list and choose All Files to select a different file type. 注意:
You can check the Additional Parameters check box. The Additional Parameters text box allows you to enter the full directory path to a file you want to launch with the selected application.
For example, you may want to direct users to edit an XML document. Depending on a user's settings, one user's computer may open an XML file in Internet Explorer, and another user may open an XML file in Notepad. With the Execute Application command, you can streamline the process to ensure that all users open an XML file in the same application.
- Click OK.
- Click OK to close the Command Item Editor dialog box.