7.1

Table Of Contents
l Double-click on the variable name in the Configuration Components Area, change the value then click OK.
l Right-click on the variable name in the Configuration Components Area, click Properties, change the value
then click OK.
Local Variables
Local Variables are set at the level of the Process and are not shared with any other process or instance of that process. Local
variables can be used anywhere that accepts variables by using it's namee, surrounded by curly brackets and preceded by a
percent sign (for example:%{myLocalVariable}).
To add a local variable, you can use one of two methods:
l Select the process where you want to add the variable.
l Click on the Home tab of the PlanetPress Suite Ribbon, then click Local Variable in the Variables group.
l Right-click on the process in the Configuration Components area, then click on Insert Local Variable.
Shared tasks
These procedures can be used on both local and global variables.
To delete a variable
l Right-click on the variable name in the Configuration Components Area and click Delete.
To rename a variable:
l Right-click on the variable name in the Configuration Components Area.
l Click Rename
l Type in the new name of the variable, then press Enter on your keyboard.
While renaming a variable will correctly rename all references to it in task properties or wherever else it is used in a task, it
will not change the references in any script within a Run Script task. Deleting a variable, on the other hand, does not delete any
reference to it. In both the case where a script refers to a variable and it is renamed, or in the case of deleting a variable, any
task or script that refers to it will cease to function and will generate an error.
You can set the value of a variable within your process in two ways:
l Use the Set Job Info and Variable action task. See "Set Job Infos and Variables Action Task Properties" (page 114).
l You can use Scripts. See the chapter "Using Scripts" (page 197).
Variables may be used as variable properties in variable property boxes (see "Variable Properties" (page 176)).
Job Info Variables
Job Infos have two main uses. First, they contain information on any job file that comes out of the initial input task or any sec-
ondary input tasks. The number of job infos as well as their definition can be seen in the Other tab of any input task. Sec-
ondly, they are transmitted, unless otherwise configured, directly to any PlanetPress Design document used within your
process and can be directly accessed by that document, so they can be used to transfer complementary information to your
document that is not contained within your data file.
You can also access global and local variables from your document using the ExpandString()function in the Plan-
etPress Talk language. For more information, please see the PlanetPress Design User Guide and the PlanetPress Talk
Reference Guide.
Working With Variables
©2010 Objectif Lune Inc - 82 -