Specifications

Using sample jobs
The variable-related property editors (Defining text with variables and Defining a condition with
variables) offer a mechanism to select a sample job and to display actual metadata values derived
from that job while you are configuring (portions of) the property value in the editor.
The Build location path dialog offers assistance with building location paths for the variables in
the Metadata group using actual metadata associated with a sample job.
List of variables
Switch offers a library of variables organized in groups, accessing Switch-specific flow and job
information, various types of metadata embedded in or a associated with a job, and statistics
derived from the file's contents.
See Known variables on page 298 for a complete list.
Characteristics of variables
Name
Each variable is identified by a name including the group name and the variable name proper.
For example: "Switch.Counter" or "Photo.ExposureTime".
See Basic syntax on page 292.
Arguments
Some variables can have arguments to help determine the dynamic value or the value's formatting.
For example, the "Switch.Counter" variable supports two arguments called "Width" and "Id",
and the "Switch.Date" variable supports an argument called "Format".
See Basic syntax on page 292, Formatting on page 293, Indexed variables on page 296, String
manipulations on page 297.
Data type
Each variable has a specific data type, which is indicated with the variable’s description. The
data type is important for two reasons:
For some data types, the formatting of the variable’s text representation can be influenced
by specifying an appropriate argument for the variable.
When using a variable in a condition, the data type determines the type of comparison
performed.
See Data types on page 292, Formatting on page 293, String manipulations on page 297.
Indexed variables
Some variables access a list of values rather than a single value. These variables are called indexed
variables. For example, the "Job.EmailAddress" variable accesses a list of all email addresses
associated with the job.
Depending on the arguments specified with it, an indexed variable may evaluate to a
concatenated list of all items (with a customizable separator) or to one particular item from the
list.
291
Enfocus Switch 10