Language Guide
APPENDIX A
The Language at a Glance
Script Objects 303
Script Objects A
Script objects are user-defined objects. Table A-7 summarizes the syntax for
defining script objects in AppleScript. For more information about script
objects, see Chapter 9, “Script Objects.”
Variable and Property Assignments and Declarations A
Table A-8 summarizes the syntax for assigning values to variables and script
properties and declaring local and global variables. For information about
variables and script properties, see Chapter 3, “Values.” For detailed
information about the scope of script variables and properties, see “Scope of
Script Variables and Properties,” which begins on page 252.
Table A-7 Script objects
Script object element Syntax
Script object
definition
script [scriptObjectVariable]
[(property | prop) propertyLabel : expression]...
[ handlerDefinition ]...
[ statement ]...
end [ script ]
Continue statement
(to pass a command
to a handler in the
parent script object)
continue commandStatement