AppleScript_ The Definitive Guide - Matt Neuburg [281]
3.11.2. Attachability
II. The AppleScript Language
4. Introducing the Language
4.1. A Little Language
4.2. Extensibility and Its Perils
4.3. The "English-likeness" Monster
4.4. Object-likeness
4.5. LISP-likeness
4.6. The Learning Curve
5. Syntactic Ground of Being
5.1. Lines
5.1.1. Line-Break Characters
5.1.2. Line-Break Characters in Strings
5.1.3. Continuation Character
5.2. Result
5.2.1. Explicit Result
5.2.2. Implicit Result
5.3. Comments
5.4. Abbreviations and Synonyms
5.5. Blocks
5.6. The
6. A Map of the World
6.1. Scope Blocks
6.2. Levels and Nesting
6.3. The Top Level
6.4. Code and the Run Handler
6.5. Variables
7. Variables
7.2. Assignment and Retrieval
Reference Section
set
Reference Section
copy
7.2.1. Set by Reference
7.2.2. Multiple Assignment
7.2.3. Retrieval
7.3. Declaration and Definition of Variables
7.3.1. Definition
7.3.2. Initialization
7.3.3. Typing
7.4. Variable Names
7.4.1. Case-Insensitivity of Variable Names
7.4.2. Memory of Variable Names
7.4.3. Variable Names and Vertical Bars
8. Script Objects
8.1. Script Object Definition
8.2. Run Handler
8.3. Script Properties
8.4. Script Objects as Values
8.5. Top-Level Entities
8.5.1. Accessing Top-Level Entities
8.5.2. Persistence of Top-Level Entities
8.5.2.1. What reinitializes top-level entities
8.5.2.2. File-level persistence
8.6. Compiled Script Files as Script Objects
Reference Section
load script
Reference Section
run script
Reference Section
store script
8.6.1. Data Storage
8.6.2. Library
8.7. Inheritance
8.7.1. Polymorphism
8.7.2. Continue
8.7.3. The Implicit Parent Chain
8.7.4. Non-Script Parent
8.7.5. Handler Calls, Commands, and Script Objects
9. Handlers
9.1. Handler Definition
9.2. Returned Value
9.3. Handlers as Values
9.4. Parameters
9.5. Pass by Reference
9.6. Syntax of Defining and Calling a Handler
9.6.1. Optional Parameters
9.6.2. No Parameters
9.6.3. Positional Parameters
9.6.4. Prepositional Parameters
9.6.5. Named Parameters
9.7. Event Handlers
9.8. The Run Handler
9.9. Recursion
9.10. Power Handler Tricks
9.10.1. Handler and Script Object as Parameter
9.10.2. Handler and Script Object as Result
10. Scope
10.1. Regions of Scope
10.2. Kinds of Variable
10.3. Scope of Top-Level Entities
10.4. Scope of Locals
10.5. Scope of Globals
10.5.1. Global Declarations: The Downward Effect
10.5.2. Global Declarations: The Upward Effect
10.5.2.1. Global as static
10.5.2.2. Global as script property
10.5.2.3. The double effect of global declarations
10.6. Scope of Undeclared Variables
10.7. Declare Your Variables
10.8. Free Variables
10.9. Redeclaration of Variables
10.10. Closures
10.10.1. Closures and Handlers
10.10.2. Closures and Stored Script Objects
11. Objects
11.1. Messages
11.2. Attributes
11.3. Class
11.4. Target
11.4.1. Direct Object
11.4.2. Tell Block
11.4.3. Of
11.4.4. The Chain of Ofs and Tells
11.4.5. Terms in Scope
11.4.6. Nested Targets
11.5. Get
11.6. It
11.7. Me
11.8. Properties and Elements
11.9. Element Specifiers
11.9.1. Name
11.9.2. Index
11.9.3. ID
11.9.4. Some
11.9.5. Every
11.9.6. Range
11.9.7. Relative
11.9.8. Boolean Test
11.10. Operations on Multiple References
11.11. Assignment of Multiple Attributes
11.12. Object String Specifier
12. References
12.1. Reference as Target
12.2. Reference as Incantation
12.2.1. Preresolution of Terminology
12.2.2. Being Careful with References
12.3. Creating a Reference
12.4. Identifying References