Please consider the latest edition.
-
AppleScript Overview
-
Chapter 1 Ways to Use AppleScript
- The Nature and Purpose of AppleScript
- Is This Application Scriptable?
- Calculation and Repetition
- Reduction
- Customization
- Combining Specialties
-
Chapter 2 Places to Use AppleScript
- Script Editor
- Scripting Environment
- Internally Scriptable Application
- Script Runner
- Automatic Location
- Application
- Unix
-
Chapter 3 The AppleScript Experience
- The Problem
- A Day in the Life
- Conclusions, Lessons, and Advice
-
Chapter 4 Basic Concepts
- Apple Event
- The Open Scripting Architecture
- Script
- Compiling and Decompiling
- Script Text File
- Applet and Droplet
- Scripting Addition
- Dictionary
- Scriptable, Recordable, Attachable
-
-
The AppleScript Language
-
Chapter 5 Introducing AppleScript
- A "Little Language"
- Extensibility and Its Perils
- The "English-likeness" Monster
- Object-likeness
- LISP-likeness
- The Learning Curve
-
Chapter 6 Syntactic Ground of Being
- Lines
- Result
- Comments
- Abbreviations and Synonyms
- Blocks
- The
-
Chapter 7 Variables
- Assignment and Retrieval
- Declaration and Definition of Variables
- Variable Names
- Scoping of Variables
- Script Properties
- Lifetime of Variables
-
Chapter 8 Handlers
- Returned Value
- Parameters
- Syntax of Defining and Calling a Handler
- Pass By Reference
- Scoping of Handlers
- Handlers as Values
-
Chapter 9 Script Objects
- Scoping of Script Objects
- Top-Level Entities
- Script Object's Run Handler
- Handler Calls
- Script Objects as Values
- Compiled Script Files as Script Objects
- Inheritance
-
Chapter 10 Objects
- Class
- Target
- Get
- It
- Me
- Properties and Elements
- Element Specifiers
- Properties of Multiple References
- Object String Specifier
-
Chapter 11 References
- References as Incantations
- Creating a Reference
- Identifying References
- Dereferencing a Reference
- Creating References to Local Variables
- Reference as Parameter
-
Chapter 12 Control
- Branching
- Looping
- Tell
- Using Terms From
- With
- Considering/Ignoring
- Errors
- Second-Level Evaluation
-
Chapter 13 Datatypes
- Boolean
- Integer, Real, and Number
- Date
- String
- Unicode Text
- Styled Text
- File
- Alias
- Application
- Machine
- Data
- List
- Record
-
Chapter 14 Coercions
- Implicit Coercion
- Explicit Coercion
- Boolean Coercions
- String, Number and Date Coercions
- File Coercions
- List Coercions
- Unit Conversions
-
Chapter 15 Operators
- Arithmetic Operators
- Boolean Operators
- Comparison Operators
- Containment Operators
- Concatenation Operator
- Parentheses
- Who Performs an Operation
-
Chapter 16 Global Properties
- Strings
- Numbers
- Miscellaneous
-
Chapter 17 Constants
-
Chapter 18 Commands
- Application Commands
- Logging Commands
-
-
AppleScript In Action
-
Chapter 19 Dictionaries
- Resolution of Terminology
- Resolution Difficulties
- What's in a Dictionary
- The 'aeut' Resource
- Inadequacies of the Dictionary
-
Chapter 20 Scripting Additions
- Pros and Cons of Scripting Additions
- Scripting Additions and Speed
- Classic Scripting Additions
- Loading Scripting Additions
- Standard Scripting Addition Commands
-
Chapter 21 Scriptable Applications
- Targeting Scriptable Applications
- Some Scriptable Applications
-
Chapter 22 Unscriptable Applications
- Getting Started with Accessibility
- GUI Scripting Examples
-
Chapter 23 Unix
- Do Shell Script
- Osascript
-
Chapter 24 Writing Applications
- Applets
- Digital Hub Scripting
- Folder Actions
- CGI Application
- AppleScript Studio
-
-
Appendixes
-
Appendix A The 'aeut' Resource
-
Appendix B Tools and Resources
- Scripting Software
- Other Software Mentioned in This Book
- Apple Documentation
- Portals, Instruction, and Repositories
- Mailing Lists
- Books
- Unix Scripting
-
-
Colophon
- Title:
- AppleScript: The Definitive Guide
- By:
- Matt Neuburg
- Publisher:
- O'Reilly Media
- Formats:
-
- Safari Books Online
- Print Release:
- November 2003
- Pages:
- 480
- Print ISBN:
- 978-0-596-00557-3
- | ISBN 10:
- 0-596-00557-1
Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The animal on the cover of AppleScript: The Definitive Guide is a Boston terrier. The youngest breed in the American Kennel Club (AKC), the Boston is a cross between various types of bulldogs and bull terriers. Originally bred in England, the breed stabilized in the United States, where it was initially favored as a fighter in the underworld rat pits of the seedier areas of late eighteenth- and early nineteenth-century Boston. By the late nineteenth century, however, people started to admire the beauty of the breed's compact, elegant build--the "American Gentleman," as the Boston terrier is now known, had been discovered.
In 1889, the AKC rejected the Stud Book applications put forth by the "American bull terrier" owners only to accept the breed in 1893 under its new name, Boston terrier. Today, its gentle yet playful and protective nature combined with its willingness to be trained make it a popular family pet--especially, of course, in Boston, the metropolitan area in which O'Reilly maintains a large editorial and production staff. Though the Boston terrier's fighting days are in its past, the sportsmen and-women at Boston University evoke the breed's heritage each time they take the field or ice. Genevieve d'Entremont was the production editor and proofreader for AppleScript: The Definitive Guide. Nancy Kotary was the copyeditor; Claire Cloutier and Phil Dangler provided quality control. Mary Agner provided production assistance. Ellen Troutman-Zaig wrote the index.
Ellie Volckhausen designed the cover of this book, based on a series design by Edie Freedman. The cover image is an original illustration created by Susan Hart. Emma Colby produced the cover layout with QuarkXPress 4.1 using Adobe's ITC Garamond font.
Melanie Wang designed the interior layout, based on a series design by David Futato. This book was converted by Julie Hawks to FrameMaker 5.5.6 with a format conversion tool created by Erik Ray, Jason McIntosh, Neil Walls, and Mike Sierra that uses Perl and XML technologies. The text font is Linotype Birka; the heading font is Adobe Myriad Condensed; and the code font is LucasFont's TheSans Mono Condensed. The illustrations that appear in the book were produced by Robert Romano and Jessamyn Read using Macromedia FreeHand 9 and Adobe Photoshop 6. The tip and warning icons were drawn by Christopher Bing. This colophon was written by Sarah Jane Shangraw.
