7.4

Table Of Contents
Properties
filename
Read-only string value containing the fully qualified path and filename of the current script.
paramstring
Read-only string containing additional information passed by the document to the script.
returnvalue
Read-write integer containing a coded value for the result of the "ExecScriptFile (function)" (page 486) command.
Accessing custom PlanetPress Suite Workflow Tools variables from a currently running script within PlanetPress
Design will yield unknown results, simply because PlanetPress Design does not have any access to the PlanetPress
Suite Workflow Tools custom variables. Users should therefore be careful to use conditional statements within the
script if needing to access custom variables.
&Str (system variable)
Contains a line of input data.
Syntax
&str string
Code Sample Example
This example illustrates a few lines of code from a user-defined emulation. In these lines, if the line of input data (minus any
leading spaces)begins with the code ‘5’, the emulation advances to the next line of the data page and stores the line of input
data on that line. Notice the &current.line system variable—one of the variables in the current system object.
Example
if(eq(mid(trimleft(&str),1,1),'5'))
set(&current.line,&current.line + 1)
store(&current.line,trimleft(&str))
endif()
&system (system object)
The &system system object contains system variables related to the Raster Image Processor (RIP) the document is using to
execute, and document version. These system variables are read-only.
Syntax
l &system.product string value
l &system.version string value
l &system.formversion integer value
Properties
product
String value containing the name of the RIP the document is using to execute. For example,
©2010 Objectif Lune Inc - 250 -