7.5

Table Of Contents
Arguments
color
Color array for which you want to determine the Magenta value.
Code Sample Example
set-
fill-
color([getcyan(&c),getmagenta(&c),getyellow(&c),if(getblack(&c)>50,100,getblack(&c)+20)])
Getmeta (function)
Returns the value of a metadata attribute or field.
Syntax
getmeta(name: string; [flags : integer; path : string]) string
Arguments
name
The name of the metadata value to retrieve. Unless the GetAttribute flag argument is specified, the function looks for the
name in the field collection.
flags
Optional integer value to define the behavior of the command when a field with the same name already exists in the current
level. The flag value to enter should be the sum of all desired flags. (Eg: GetAttribute and FailIfNotFound would give a flag
value of '5').
The default behavior uses 0.
Name Value Behavior
GetAttribute 1
Search for the name argument in the attribute collection
instead of the default field collection.
NoCascade 2
Search only the level specified by the path argument
(defaults toPage level when path argument is empty),
instead of default behavior, going from the Page levelto
the Job level.
FailIfNotFound 4
Raise an error and crash the job is the specified nameis
not found instead of returning an empty string.
SelectedNodesOnly 8 Returns values from the selected nodes only.
path
Optional string value to specify the level where to start looking for the field or attribute. Path components cannot be indexed,
and if no path
is provided, the search is done from the the Page level.
©2010 Objectif Lune Inc - 287 -