2017

Table Of Contents
CLOSE
Usage: to close a specified object and determine whether to save it.
Close
is
usually used for a window or layout.
close reference saving save options saving in alias
Possible values:
saving
: yes, no, ask
saving in
: alias
DUPLICATE
Usage: to copy the data and properties of a specified object and create a new
object with the same data and properties. You can specify an insertion point
for the new object. (If you don’t specify a new insertion point, the new object
is placed in the same container as the initial object, at the end of the container’s
elements.)
Duplicate
is similar to
make
.
duplicate reference to insertion location
Possible values:
to
: location reference (See the “Apple Events Terminology”
section of this layout for insertion point information.)
Result: reference (to the duplicated object)
COUNT
Usage: to determine how many elements of a particular class are contained in
a specified object.
Count of object class in reference
Possible values:
each
: type class (any object class)
Result: integer
MAKE
Usage: to make a new element of an object. You can specify the type of
object you want to make, set properties in the new object, and specify an
insertion point.
make new object type at insertion location with data with
properties {properties}
Possible values:
new
: type class (any object class)
at
: location reference (See the “Apple Events Terminology”
section of this layout for insertion point information.)
with data
: anything (the initial data for the element)
with properties
: record
Results: Reference (to the new object)
DEFINITIONS AND EXAMPLES APPLE EVENTS TERMINOLOGY
A GUIDE TO APPLE EVENTS SCRIPTING
|
35