2022.2

Table Of Contents
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 page145 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).
l
Paste: Paste the last selection that was cut or copied in the location of the cursor in the text
editor.
l
Delete: Delete the current selection (only available if there is selected text in the editor).
l
Select All: Select all of the contents of the editor.
l
Search
l
Find: Brings up the Find dialog.
l
Find Again: Repeats the previous search and finds the next occurrence.
l
Replace: Brings up the Replace dialog.
l
Go To Line: Brings up the Go To Line dialog where you can enter a line number and jump
directly to that line.
Page 396