8.5

Multiple APIs (methods of communicating with PlanetPress Workflow scripting tools) are available through
the scripting engine, in all languages.
l The Watch object is used to communicate with your current process and configuration. See "The
Watch Object" on page95.
l You can manipulate PDFfiles using the PlanetPress Alambic API. See AlambicEdit Library
Reference. Note that the PlanetPress Alambic API is part of the PDFTools.
l You can manipulate the metadata in your process using the Metadata API. See Metadata API
Reference.
l You can communicate with a SOAPserver using the SOAPAPI. See "SOAP Server API Reference"
on page88.
l You can communicate with the PlanetPress Capture Database using the Capture API. See Capture
API Reference.
The Script Editor and XSLT Editor
How can I edit scripts and XSLT code?
Scripts can be edited in the Script Editor and the XSLT Editor. Both editors are visually identical and share
almost exactly the same commands. They let you import and export scripts, perform common editing
function, such as search and replace, and feature syntax highlighting and formatting.
You can use the Script Editor to edit scripts written in VBScript, JavaScript, Perl and Python (note that the
corresponding interpreter must be locally available). You can use the XSLT Editor to edit scripts written in
XSLT 1.0 and 2.0.
For information on how to use both editors, or for a complete description of the Script or XSLT Editor user
options, refer to the Reference Help (English only).
Use the Editor
The Script Editor and XSLT Editor share most of the same commands and functions. You can open the
Script Editor using the Open Editor button both from the Run Script Properties dialog box and from the
Open XSLT Properties dialog box. When you do so, the script currently displayed in the dialog box is
pasted to the editors scripting box.
For information on the available editor options, refer to "Editor Options" on page658.