# AppleScript Keywords

This appendix lists AppleScript keywords (orreserved words), provides a brief description for each, and points to related information, where available. (See alsoKeywordsinAppleScript Lexical Conventions.)
The keywords inTable A-1are 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, inAppleScript Terminology and Apple Event Codes.
about
handler parameter labelâseeHandler Syntax (Labeled Parameters)
above
handler parameter labelâseeHandler Syntax (Labeled Parameters)
after
used to describe position in theRelativereference form; used as part of operator (comes after,does not come after) with classes such asdate,integer, andtext
against
handler parameter labelâseeHandler Syntax (Labeled Parameters)
logicalandoperatorâseeTable 9-1
apart from
handler parameter labelâseeHandler Syntax (Labeled Parameters)
around
handler parameter labelâseeHandler Syntax (Labeled Parameters)
coercion operatorâseeTable 9-1
aside from
handler parameter labelâseeHandler Syntax (Labeled Parameters)
handler parameter labelâseeHandler Syntax (Labeled Parameters)
back
used withIndexandRelativereference forms;in back ofis synonymous withafterandbehind
before
used to describe position in theRelativereference form; used as an operator (comes before,does not come before) with classes such asdate,integer, andtext; synonymous within front of
beginning
specifies an insertion location at the beginning of a containerâsee the boundary specifier descriptions for theRangereference form
behind
synonymous withafterandin back of
below
handler parameter labelâseeHandler Syntax (Labeled Parameters)
beneath
handler parameter labelâseeHandler Syntax (Labeled Parameters)
beside
handler parameter labelâseeHandler Syntax (Labeled Parameters)
between
handler parameter labelâseeHandler Syntax (Labeled Parameters)
used inconsidering and ignoring Statements
used with binary containment operatorcontains, is contained by; also used as handler parameter labelâseeHandler Syntax (Labeled Parameters)
considering
a control statementâseeconsidering and ignoring Statements
contain, contains
binary containment operatorâseecontains, is contained by
continue
changes the flow of executionâseecontinue
copy
an AppleScript commandâseecopy
division operatorâseeTable 9-1
does
used with operators such asdoes not equal,does not come before, anddoes not containâseeTable 9-1
eighth
specifies a position in a containerâseeIndexreference form
else
used withifcontrol statementâseeif Statements
marks the end of a script or handler definition, or of a compound statement, such as atellorrepeatstatement; also specifies an insertion location at the end of a containerâsee the boundary specifier descriptions for theRangereference form
equal, equals
binary comparison operatorâseeequal, is not equal to
error
errorcontrol statement; also used withtrystatement
every
specifies every object in a containerâseeEveryreference form
exit
terminates arepeatloopâseeexit
false
a Boolean literalâseeBoolean
fifth
specifies a position in a containerâseeIndexreference form
first
specifies a position in a containerâseeIndexreference form
handler parameter labelâseeHandler Syntax (Labeled Parameters)
fourth
specifies a position in a containerâseeIndexreference form
from
used in specifying a range of objects in a containerâseeRangereference form; also used as handler parameter labelâseeHandler Syntax (Labeled Parameters)
front
in front ofis used to describe position in theRelativereference form; synonymous withbefore
an AppleScript commandâseeget
given
a special handler parameter labelâseeHandler Syntax (Labeled Parameters)
global
specifies the scope for a variable (see alsolocal)âseeGlobal Variables
a control statementâseeif Statements
ignoring
a control statementâseeconsidering and ignoring Statements
used in construction object specifiersâseeContainers; also used with theRelativereference formâfor examplein front ofandin back of
instead of
handler parameter labelâseeHandler Syntax (Labeled Parameters)
into
put intois a deprecated synonym for thecopycommand; also used as handler parameter labelâseeHandler Syntax (Labeled Parameters)
used with various comparison operatorsâseeTable 9-1
refers to the current target (of it)âseeThe it and me Keywords
synonym forof itâseeThe it and me Keywords
last
specifies a position in a containerâseeIndexreference form
local
specifies the scope for a variable (see alsoglobal)âseeLocal Variables
refers to the current script (of me)âseeThe it and me Keywords
middle
specifies a position in a containerâseeIndexreference form
remainder operatorâseeTable 9-1
synonym forof meâseeThe it and me Keywords
ninth
specifies a position in a containerâseeMiddlereference form
logical negation operatorâseeTable 9-1
used in construction object specifiersâseeContainers; used with or as part of many other terms, includingof me,in front of, and so on
handler parameter labelâseeHandler Syntax (Labeled Parameters)
onto
handler parameter labelâseeHandler Syntax (Labeled Parameters)
logicaloroperatorâseeTable 9-1
out of
handler parameter labelâseeHandler Syntax (Labeled Parameters)
over
handler parameter labelâseeHandler Syntax (Labeled Parameters)
prop, property
propis an abbreviation forpropertyâseeThe it and me Keywords
put intois a deprecated synonym for thecopycommand
ref/reference
refis an abbreviation forreferenceâseereference
repeat
a control statementâseerepeat Statements
return
exits from a handlerâseereturn
returning
deprecated
script
used to declare a script object; also the class of a script objectâsee thescriptclass andScript Objects
second
specifies a position in a containerâseeIndexreference form
an AppleScript commandâseeset
seventh
specifies a position in a containerâseeIndexreference form
since
handler parameter labelâseeHandler Syntax (Labeled Parameters)
sixth
specifies an index position in a containerâseeIndexreference form
some
specifies an object in a containerâseeArbitraryreference form
tell
a control statementâseetell Statements
tenth
specifies a position in a containerâseeIndexreference form
that
synonym forwhose
syntactic no-op, used to make script statements look more like natural language
then
used withifcontrol statementâseeif Statements
third
specifies a position in a containerâseeIndexreference form
through, thru
used in specifying a range of objects in a containerâseeRangereference form
timeout
used withwith timeoutcontrol statementâseewith timeout
times
used withrepeatcontrol statementâseerepeat (number) times
used in many places, includingcopyandsetcommands; in theRangereference form; by operators such asis equal toanda reference to; with the control statementrepeat with loopVariable (from startValue to stopValue); with the partial result parameter intry Statements
transaction
used withwith transactioncontrol statementâseewith transaction
true
a Boolean literalâseeBoolean
an error-handling statementâseetry Statements
until
used withrepeatcontrol statementâseerepeat until
a requirement statementâseeuse Statements
where
used with theFilterreference form to specify a Boolean test expression (synonymous withwhose)
while
used withrepeatcontrol statementâseerepeat while
whose
used with theFilterreference form to specify a Boolean test expression (synonymous withwhere)
with
used in commands to specify various kinds of parameters, includingtruefor some Boolean for parametersâsee, for example, thewith promptandmultiple selections allowedparameters to thechoose from listcommand; also used with applicationmakecommands to specify properties (with properties)
without
used in commands to specifyfalsefor a Boolean for a parameterâsee, for example, themultiple selections allowedparameter to thechoose from listcommand
Copyright © 2016 Apple Inc. All Rights Reserved.Terms of Use|Privacy Policy|  Updated: 2016-01-25