2018.1

Table Of Contents
Note
The PDF context also expects physical coordinates, just like the Text context does, but since PDF
pages do not have a grid concept of lines and columns, the above parameters would instead be
specified in millimeters relative to the upper left corner of each page. So for instance, to create a
region for the Year, the code might look like this:
region.createRegion(190,20,210,25)
which would create a region located near the upper right corner of the page.
That's the only similarity, though, since the script for a PDF would have to look through the entire
page and probably make multiple extractions on each one since it isn't dealing with single lines like
the TXT example given here.
For more information on the API syntax, please refer to "DataMapper Scripts API" on page305.
Objects
automation
Returns a ScriptableAutomation object encapsulating the properties of the PlanetPress
Workflow process that triggered the current operation.
Note
The automation object available in Designer scripts is not of the same type. It has different
properties.
Properties
The following table lists the properties of the automation object.
These are available in Boundaries scripts, with all file types.
Property Description
jobInfo Returns a ScriptableAutomation object containing JobInfo 1 to 9 values from
Page 315