AppleScript Keywords
This appendix lists AppleScript keywords (or reserved words), provides a brief description for each, and points to related information, where available. (See also “Keywords” in “AppleScript Lexical Conventions.”)
The keywords in Table A-1 are part of the AppleScript language. You should not attempt to reuse them in your scripts for variable names or other purposes. Developers should not re-define keywords in the terminology for their scriptable applications. You can view many additional scripting terms defined by Apple, but not part of the AppleScript language, in AppleScript Terminology and Apple Event Codes.
| handler parameter label—see “Handler Syntax (Labeled Parameters)” |
| handler parameter label—see “Handler Syntax (Labeled Parameters)” |
| used to describe position in the “Relative” reference form; used as part of operator ( |
| handler parameter label—see “Handler Syntax (Labeled Parameters)” |
| logical and operator—see Table 9-1 |
| handler parameter label—see “Handler Syntax (Labeled Parameters)” |
| handler parameter label—see “Handler Syntax (Labeled Parameters)” |
| coercion operator—see Table 9-1 |
| handler parameter label—see “Handler Syntax (Labeled Parameters)” |
| handler parameter label—see “Handler Syntax (Labeled Parameters)” |
| used with “Index” and “Relative” reference forms; |
| used to describe position in the “Relative” reference form; used as an operator ( |
| specifies an insertion location at the beginning of a container—see the boundary specifier descriptions for the “Range” reference form |
| synonymous with |
| handler parameter label—see “Handler Syntax (Labeled Parameters)” |
| handler parameter label—see “Handler Syntax (Labeled Parameters)” |
| handler parameter label—see “Handler Syntax (Labeled Parameters)” |
| handler parameter label—see “Handler Syntax (Labeled Parameters)” |
| |
| used with binary containment operator |
| a control statement—see “considering and ignoring Statements” |
| binary containment operator—see |
| changes the flow of execution—see |
| an AppleScript command—see |
| division operator—see Table 9-1 |
| used with operators such as |
| specifies a position in a container—see “Index” reference form |
| used with |
| marks the end of a script or handler definition, or of a compound statement, such as a |
| binary comparison operator—see |
| |
| specifies every object in a container—see “Every” reference form |
| terminates a |
| a Boolean literal—see “Boolean” |
| specifies a position in a container—see “Index” reference form |
| specifies a position in a container—see “Index” reference form |
| handler parameter label—see “Handler Syntax (Labeled Parameters)” |
| specifies a position in a container—see “Index” reference form |
| used in specifying a range of objects in a container—see “Range” reference form; also used as handler parameter label—see “Handler Syntax (Labeled Parameters)” |
|
|
| an AppleScript command—see |
| a special handler parameter label—see “Handler Syntax (Labeled Parameters)” |
| specifies the scope for a variable (see also |
| a control statement—see “if Statements ” |
| a control statement—see “considering and ignoring Statements” |
| used in construction object specifiers—see “Containers”; also used with the “Relative” reference form—for example |
| handler parameter label—see “Handler Syntax (Labeled Parameters)” |
|
|
| used with various comparison operators—see Table 9-1 |
| refers to the current target ( |
| synonym for |
| specifies a position in a container—see “Index” reference form |
| specifies the scope for a variable (see also |
| refers to the current script ( |
| specifies a position in a container—see “Index” reference form |
| remainder operator—see Table 9-1 |
| synonym for |
| specifies a position in a container—see “Middle” reference form |
| logical negation operator—see Table 9-1 |
| used in construction object specifiers—see “Containers”; used with or as part of many other terms, including |
| handler parameter label—see “Handler Syntax (Labeled Parameters)” |
| handler parameter label—see “Handler Syntax (Labeled Parameters)” |
| logical or operator—see Table 9-1 |
| handler parameter label—see “Handler Syntax (Labeled Parameters)” |
| handler parameter label—see “Handler Syntax (Labeled Parameters)” |
|
|
| |
|
|
| a control statement—see “repeat Statements” |
| exits from a handler—see |
deprecated | |
| used to declare a script object; also the class of a script object—see the |
| specifies a position in a container—see “Index” reference form |
| an AppleScript command—see |
| specifies a position in a container—see “Index” reference form |
| handler parameter label—see “Handler Syntax (Labeled Parameters)” |
| specifies an index position in a container—see “Index” reference form |
| specifies an object in a container—see “Arbitrary” reference form |
| a control statement—see “tell Statements” |
| specifies a position in a container—see “Index” reference form |
| synonym for |
syntactic no-op, used to make script statements look more like natural language | |
| used with |
| specifies a position in a container—see “Index” reference form |
| used in specifying a range of objects in a container—see “Range” reference form |
| used with |
| used with |
| used in many places, including |
| used with |
| a Boolean literal—see “Boolean” |
| an error-handling statement—see “try Statements” |
| used with |
| used with the “Filter” reference form to specify a Boolean test expression (synonymous with |
| used with |
| used with the “Filter” reference form to specify a Boolean test expression (synonymous with |
| used in commands to specify various kinds of parameters, including |
| used in commands to specify |
© 2008 Apple Inc. All Rights Reserved. (Last updated: 2008-03-11)