The Scripts view displays all available script tasks for your DaVinci Adaptive project and provides actions for executing the script tasks or creating new script projects.
Open Scripts View
The Scripts view is opened by default and located in the lower left corner.
If the Scripts view has been closed, you can open it again as follows:
- Open the menu path Window|Show View|Other.... The Show View dialog opens.
- Select DaVinci Adaptive|
Scripts in the Show View dialog.
- Click [Open] to confirm your selection.
The Scripts view opens.
Editor Toolbar
The toolbar on the top right of the Scripts view provides the following features:
Execute Selected Script
Click this icon to execute the script tasks selected in the grid. This action is disabled when no script task is selected.Script Locations
All scripts in the grid are loaded from specified locations. Click this icon to open a dialog in which you can add/remove locations to load scripts from.
Locations under Project: <PROJECT> are stored in the project ADPA file. Scripts stored in those locations are only loaded when the respective project is the current active project.
For locations under User@Machine, scripts are always loaded in the application.Create Script Project
Click this icon to open the Create Automation Script Project wizard.Open Automation Interface Documentation
Click this icon to open the document DaVinci Developer Adaptive Automation Interface as a PDF. This document contains information about the API used for the script projects.
Scripts Grid
The grid of the Scripts view provides the following columns:
- Script Tasks: Name of the script project, script, or script task. A script project
may contain several scripts
, and a script may contain several script tasks
.
- Last Result: Shows the result and time for the last execution for a script task. The result can be either pass
or fail
.
- Type: Shows the type of script task. It could be Application, Project, Editor selection, Editor multiple selections, Generation Process Start, or Generation Process End. Refer to section Script Task Types in
Automation Interface Documentation for more details.
- API (current: version number): API version used to create the script project. Version number is denoted by <Major>.<Minor>.<Patch>. The compatible version range is from the earliest <Major> version to the latest <Major>.<Minor> version. E.g. If the current version is 3.2.0, the range would be from 3.0.0 to 3.2.x inclusively.
- File: File path for the script or script project.