Specifications
AvailabilityDescriptionModule
All scripting
languages
Accessing script flow element properties, including
incoming and outgoing connections
Moving jobs from and to these connections
Flow element
module
Accessing job ticket information for the current job,
including the list of associated metadata datasets
Entry points, Environment class, Switch class,
Connection class, Job class, Occurrence class, List
classes
All scripting
languages
Retrieving the contents of metadata fields from a
metadata dataset for the three supported data models
(XML, JDF, XMP and Certified PDF 2)
Metadata module
Map class, Dataset class, XML data model, JDF data
model, XMP data model, CP2 data model, Opaque data
model, FileStatistics class, Session class, Certificate
class, User class, DataMap class, AltText class
Script declaration
Reference information for the script declaration is presented as part of the scripting API
documentation in Main script properties, Execution mode, Property definition properties, Property
editors, Validating property values and External property editor.
18.2 JavaScript Reference
(The contents of this topic is adapted from documentation provided by Trolltech.)
This language reference describes the language features provided by Switch's JavaScript, which
implements a subset of the ECMAScript 4.0 language. It is divided into the following topics:
• Language concepts
• Built-in types and objects
• Built-in functions
• Built-in operators
• Declarations
• Control statements
Readers are assumed to have a basic understanding of programming.
Language concepts
(The contents of this topic is adapted from documentation provided by Trolltech.)
368
Enfocus Switch 10










