When the Tasks tab is available, you can execute a Unity Script over any open document or a group of documents selected from the document retrieval list:
Clicking Execute Task displays a drop-down list of scripts to execute on the document(s).
Executing a Unity Script which affects an open document will refresh the document viewer and keyword panel for that document and remove any unsaved changes. Ensure that you have saved any necessary changes before executing a Unity Script.
The Unity Automation API license is required to execute Unity Scripts.
To change the order of script tasks in the Execute Task drop-down list, click the lower right corner of the Script Tasks ribbon group, or select Configure Items... from this drop-down list. In the Organize Tasks dialog box, select script tasks and re-position them using the corresponding arrows. To add a button to the Script Tasks ribbon group for a script task, select the corresponding check box next to the script task: