7.2

Table Of Contents
l File
l Import:Lets you open an existing script froman external file. This file can be in .vbs, .js, .pl or .py for lan-
guage-specific scripts, or .txt for any of them.
l Export:Lets you save the currentscript as a file.
l Print:Prints the currentscript.
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.
l Language
l VBScript:Select if your script is written in VBScript.
l JavaScript:Select if your script is written in Javascript.
l Perl:Select if your script is written in Perl.
l Python:Select if your script is written in Pyton.
l Tools
l Editor Options...:Opens the "Editor Options" (page 81).
l Help
l Contents and Indexes:Opens the Editor Help (this page)
The other options of the window are:
l The script editor text box:This is where you enter your XSLTScript that will be used. If you use an external script
file, this will display the content of the file (note however that modifying the script in this case does not modify the exter-
nal file and changes are not saved).
l Script running from:Choose if the script should be run from the editor text box, or from an external script file.
l Script filename and path:Either enter the full path of the XLSTScript, or click the Browse button to navigate to
the file. This option is only available if you choose external script file in the Script running from option.
With the Run Script action, the OnErrortab is accessible by right-clicking on the action in your process and clicking
Advanced Properties.
The On Error tab will be triggered if your script has an execution error (such as syntax error, etc) as well as when rais-
ing an error from wtihin your script. For more information, see
On Error Tab
The On Error Tab is common to all tasks. Details can be found on "Task Properties Dialog" (page 53).
Microsoft® Wor To PDF Action Task Properties
The Microsoft® Word® to PDFAction Task can be used to convert a Wor document into a PDFfile that can be used in your
PlanetPress Suite Workflow Tools process. It can also do a Mail Merge as it runs the task. This plugin is only available with Plan-
etPress Production (and not with PlanetPress Office or PlanetPress Watch).
©2010 Objectif Lune Inc - 129 -