2020.2

Table Of Contents
For more information on scripts, what languages are supported and how to write scripts and
conditions, please see the related chapter, "Using Scripts" on page139.
Input
Any data file, in any format.
Processing
The script is executed. The script can modify anything such as the data file, Job Info variables,
Metadata, or even other files on the operating system.
Output
Whatever file the Run Script action generates, Metadata it modifies or creates, etc.
Note
When using Run Script as a Condition, the output of the task can be within the branch or
on the main trunk. To control the output, use the "Script.ReturnValue" on page171
variable in your script.
Properties
The Script Editor menu options are as follows.
l
File
l
Import: Lets you open an existing script from an external file. This can be a .vbs, .js,
.pl or .py file for language-specific scripts, or .txt for any of them.
l
Export: Lets you save the current script as a file.
l
Print: Prints the current script.
l
Edit
l
Undo: Undo the last edit.
l
Cut: Cut the current selection (only available if there is selected text in the editor).
l
Copy: Copy the current selection (only available if there is selected text in the
editor).
Page 474