My Account
View Cart
Home
Community
Books & Videos
Safari Books Online
Conferences
Training
School of Technology
About
Complete List
Bestsellers
New Releases
Rough Cuts
Upcoming Titles
Ebooks
By Publisher
By Series
Out of Print
Order Info
Search
Search Tips
AppleScript: The Definitive Guide
By
Matt Neuburg
November 2003
Pages: 476
|
Table of Contents
|
Index
|
Sample Chapter
|
Colophon
Table of Contents
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
Return to
AppleScript: The Definitive Guide