7.4

Table Of Contents
Objects
Object $name()... EndObject (procedure)
Creates an object. You can reference the object you create using the $ operator. See "$element (procedure)" (page 613).
This command can only be used from within the PressTalk Before and PressTalk After of a PlanetPress Design doc-
ument, and cannot exist within a page's properties or the PressTalk of any object, including
Syntax
object $name( top, left, width, height, condition, angle[, setsnappingpoint[, snap-
toprevious]] )
%Object Contents
endobject()
Argument
$name (PressTalk Name)
Name to use for the object, preceded by the dollar sign character ($). The name must conform to the rules for names
described in "Names" (page 221).
top (Measure)
Measure value specifying the distance, in inches, to offset the top edge of the picture object, from the top edge of the doc-
ument page. If you set the snaptoprevious argument to a value other than 0, the value you set for the top argument becomes
the vertical offset for the Snap to previous snapping point.
left (Measure)
Measure value specifying the distance, in inches, to offset the left edge of the picture object, from the left edge of the doc-
ument page. If you set the snaptoprevious argument to a value other than 0, the value you set for the left argument becomes
the horizontal offset for the Snap to previous snapping point.
width, height (Measure)
Measure values specifying the width and height respectively, in inches, of the object.
condition (Boolean)
Boolean value, or PlanetPress Talk expression that resolves to a Boolean value, specifying a condition on the object.
angle (Measure)
Measure value specifying the angle of rotation, in degrees. The pivot point for the rotation is the bottom left corner of the
object.
setsnappingpoint (optional, Boolean)
Boolean value (True or False) specifying whether the object has its Set snapping point property set. If you set this argument to
True, the last line of the code for the object must be a moveto() command that moves the current point to the position at
which you want to set the object’s snapping point.
snaptoprevious (optional, Integer)
©2010 Objectif Lune Inc - 589 -