Books & Videos

Table of Contents

  1. AppleScript Overview

    1. Chapter 1 Why to Use AppleScript

      1. The Nature and Purpose of AppleScript
      2. Is This Application Scriptable?
      3. Calculation and Repetition
      4. Reduction
      5. Customization
      6. Combining Specialties
    2. Chapter 2 Where to Use AppleScript

      1. Script Editor
      2. Internally Scriptable Application
      3. Script Runner
      4. Automatic Location
      5. Application
      6. Unix
      7. Hyperlinks
      8. AutomatorworkflowAutomator Automator AppleScriptplaces for usingAutomator
    3. Chapter 3 Basic Concepts

      1. Apple Events
      2. The Open Scripting Architecture
      3. Script
      4. Compiling and Decompiling
      5. Compiled Script Files
      6. Script Text File
      7. Applet and Droplet
      8. Scripting Addition
      9. Dictionary
      10. Missing External Referents
      11. Modes of Scriptability
  2. The AppleScript Language

    1. Chapter 4 Introducing the Language

      1. A Little Language
      2. Extensibility and Its Perils
      3. The "English-likeness" Monster
      4. Object-likeness
      5. LISP-likeness
      6. The Learning Curve
    2. Chapter 5 Syntactic Ground of Being

      1. Lines
      2. Result
      3. Comments
      4. Abbreviations and Synonyms
      5. Blocks
      6. The
    3. Chapter 6 A Map of the World

      1. Scope Blocks
      2. Levels and Nesting
      3. The Top Level
      4. Code and the Run Handler
      5. Variables
    4. Chapter 7 Variables

      1. Assignment and Retrieval
      2. Declaration and Definition of Variables
      3. Variable Names
    5. Chapter 8 Script Objects

      1. Script Object Definition
      2. Run Handler
      3. Script Properties
      4. Script Objects as Values
      5. Top-Level Entities
      6. Compiled Script Files as Script Objects
      7. Inheritance
    6. Chapter 9 Handlers

      1. Handler Definition
      2. Returned Value
      3. Handlers as Values
      4. Parameters
      5. Pass by Reference
      6. Syntax of Defining and Calling a Handler
      7. Event Handlers
      8. The Run Handler
      9. Recursion
      10. Power Handler Tricks
    7. Chapter 10 Scope

      1. Regions of Scope
      2. Kinds of Variable
      3. Scope of Top-Level Entities
      4. Scope of Locals
      5. Scope of Globals
      6. Scope of Undeclared Variables
      7. Declare Your Variables
      8. Free Variables
      9. Redeclaration of Variables
      10. Closures
    8. Chapter 11 Objects

      1. Messages
      2. Attributes
      3. Class
      4. Target
      5. Get
      6. It
      7. Me
      8. Properties and Elements
      9. Element Specifiers
      10. Operations on Multiple References
      11. Assignment of Multiple Attributes
      12. Object String Specifier
    9. Chapter 12 References

      1. Reference as Target
      2. Reference as Incantation
      3. Creating a Reference
      4. Identifying References
      5. Dereferencing a Reference
      6. Trouble with Contents
      7. Creating References to Variables
      8. Reference as Parameter
    10. Chapter 13 Datatypes

      1. Application
      2. Machine
      3. Data
      4. Boolean
      5. Integer, Real, and Number
      6. Date
      7. String
      8. Unicode Text
      9. File and Alias
      10. List
      11. Record
    11. Chapter 14 Coercions

      1. Implicit Coercion
      2. Explicit Coercion
      3. Boolean Coercions
      4. Number, String, and Date Coercions
      5. File Coercions
      6. List Coercions
      7. Unit Conversions
    12. Chapter 15 Operators

      1. Implicit Coercion
      2. Arithmetic Operators
      3. Boolean Operators
      4. Comparison Operators
      5. Containment Operators
      6. Concatenation Operator
      7. Parentheses
      8. Who Performs an Operation
    13. Chapter 16 Global Properties

      1. Strings
      2. Numbers
      3. Miscellaneous
    14. Chapter 17 Constants

    15. Chapter 18 Commands

      1. Application Commands
      2. Standard Commands
      3. Logging Commands
    16. Chapter 19 Control

      1. Branching
      2. Looping
      3. Tell
      4. Using Terms From
      5. With
      6. Considering/Ignoring
      7. Errors
      8. Second-Level Evaluation
  3. AppleScript In Action

    1. Chapter 20 Dictionaries

      1. Resolution of Terminology
      2. Terminology Clash
      3. Nonsensical Apple Events
      4. Raw Four-Letter Codes
      5. Multiple-Word Terms
      6. What's in a Dictionary
      7. The 'aeutaeut ' Resource
      8. Inadequacies of the Dictionary
    2. Chapter 21 Scripting Additions

      1. Pros and Cons of Scripting Additions
      2. Classic Scripting Additions
      3. Loading Scripting Additions
      4. Standard Scripting Addition Commands
    3. Chapter 22 Speed

      1. Tools of the Trade
      2. Apple Events
      3. List Access
      4. Scripting Additions
      5. Context
    4. Chapter 23 Scriptable Applications

      1. Targeting Scriptable Applications
      2. Some Scriptable Applications
    5. Chapter 24 Unscriptable Applications

      1. Historical Perspective
      2. Getting Started with Accessibility
      3. GUI Scripting Examples
    6. Chapter 25 Unix

      1. Do Shell Script
      2. Osascript
    7. Chapter 26 Triggering Scripts Automatically

      1. Digital Hub Scripting
      2. Folder Actions
      3. CGI Application
      4. Timers, Hooks, Attachability, Observability
    8. Chapter 27 Writing Applications

      1. Applets
      2. AppleScript Studio
      3. Cocoa Scripting
      4. AppleScript Studio Scriptability
  4. Appendixes

    1. Appendix A The AppleScript Experience

      1. The Problem
      2. A Day in the Life
      3. Conclusions, Lessons, and Advice
    2. Appendix B Apple Events Without AppleScript

      1. Pure Raw Apple Events
      2. JavaScript
      3. UserTalk
      4. Perl
      5. Python
    3. Appendix C Tools and Resources

      1. Scripting Software and Tools
      2. Scriptable Software
      3. AppleScript Documentation
      4. Writing a Scripting Addition
      5. Writing a Scriptable Application
      6. Portals, Instruction, and Repositories
      7. Mailing Lists
      8. Books
      9. Unix Scripting
  1. Colophon