Update cookies preferences

AppleScript: The Definitive Guide [Paperback / softback]

3.75/5 (78 ratings by Goodreads)
  • Format: Paperback / softback, 460 pages, height x width x depth: 229x153x32 mm, weight: 744 g, index
  • Pub. Date: 30-Dec-2003
  • Publisher: O'Reilly Media
  • ISBN-10: 0596005571
  • ISBN-13: 9780596005573
Other books in subject:
  • Paperback / softback
  • Price: 48,48 €*
  • * This title is out of print. Used copies may be available, but delivery only inside Baltic States
  • This title is out of print. Used copies may be available, but delivery only inside Baltic States.
  • Quantity:
  • Add to basket
  • Add to Wishlist
  • Format: Paperback / softback, 460 pages, height x width x depth: 229x153x32 mm, weight: 744 g, index
  • Pub. Date: 30-Dec-2003
  • Publisher: O'Reilly Media
  • ISBN-10: 0596005571
  • ISBN-13: 9780596005573
Other books in subject:
If you want to know all about AppleScript--the how, where, and why of using it--dig into AppleScript: The Definitive Guide. It doesn't make the mistake that other books do: it isn't about scripting this or that particular application, and it doesn't assume that learning AppleScript is easy or obvious. Instead, the book teaches and documents the language in a clear and rigorous manner, just as you'd expect with any programming or scripting language. AppleScript is a dynamic, object-oriented scripting system that allows Mac users--even novices who know nothing about programming--to directly control Macintosh applications, including the Mac OS itself. You can write scripts to automate repetitive tasks, customize applications, and even control complex workflows. AppleScript has always been useful, but with Mac OS X it's even more so. Nearly every application that comes with Mac OS X is scriptable. Even non-scriptable applications can often be driven with AppleScript, thanks to the new Accessibility API and GUI Scripting technologies. And now AppleScripters can put a true Aqua interface around their scripts! There's never been a more exciting time for AppleScript users. AppleScript: The Definitive Guide explores and teaches the language from the ground up. If you're a beginner and want to learn how to write your first script or just understand what the excitement is all about, you'll be able to do so after reading this book. You'll also learn how to: interpret dictionary files debug and troubleshoot scripts use AppleScript and the new Script Editor, released as part of the new version of Mac OS X, 10.3 (Panther) Experienced AppleScripters will love having the most definitive, up-to-date AppleScript language reference available. AppleScript: The Definitive Guide is the quintessential guide to this important Mac tool. Regardless of their level of experience, AppleScripters everywhere will turn to this book again and again.
Preface xi
Part I. AppleScript Overview
Ways to Use AppleScript
3(13)
The Nature and Purpose of AppleScript
3(2)
Is This Application Scriptable?
5(1)
Calculation and Repetition
6(2)
Reduction
8(2)
Customization
10(1)
Combining Specialties
10(6)
Places to Use AppleScript
16(23)
Script Editor
17(5)
Scripting Environment
22(1)
Internally Scriptable Application
23(5)
Script Runner
28(1)
Automatic Location
29(2)
Application
31(6)
Unix
37(2)
The AppleScript Experience
39(26)
The Problem
39(2)
A Day in the Life
41(21)
Conclusions, Lessons, and Advice
62(3)
Basic Concepts
65(32)
Apple Event
65(8)
The Open Scripting Architecture
73(4)
Script
77(3)
Compiling and Decompiling
80(6)
Script Text File
86(2)
Applet and Droplet
88(1)
Scripting Addition
89(1)
Dictionary
90(2)
Scriptable, Recordable, Attachable
92(5)
Part II. The AppleScript Language
Introducing AppleScript
97(7)
A ``Little Language''
97(1)
Extensibility and Its Perils
98(1)
The ``English-likeness'' Monster
99(2)
Object-likeness
101(1)
LISP-likeness
102(1)
The Learning Curve
103(1)
Syntactic Ground of Being
104(9)
Lines
104(2)
Result
106(3)
Comments
109(1)
Abbreviations and Synonyms
110(1)
Blocks
111(1)
The
112(1)
Variables
113(27)
Assignment and Retrieval
113(2)
Declaration and Definition of Variables
115(2)
Variable Names
117(3)
Scoping of Variables
120(11)
Script Properties
131(6)
Lifetime of Variables
137(3)
Handlers
140(19)
Returned Value
141(2)
Parameters
143(2)
Syntax of Defining and Calling a Handler
145(3)
Pass By Reference
148(2)
Scoping of Handlers
150(5)
Handlers as Values
155(4)
Script Objects
159(25)
Scoping of Script Objects
160(2)
Top-Level Entities
162(2)
Script Object's Run Handler
164(1)
Handler Calls
164(2)
Script Objects as Values
166(6)
Compiled Script Files as Script Objects
172(6)
Inheritance
178(6)
Objects
184(22)
Class
185(1)
Target
185(6)
Get
191(1)
It
192(2)
Me
194(1)
Properties and Elements
195(2)
Element Specifiers
197(7)
Properties of Multiple References
204(1)
Object String Specifier
204(2)
References
206(12)
References as Incantations
207(2)
Creating a Reference
209(1)
Identifying References
210(1)
Dereferencing a Reference
211(4)
Creating References to Local Variables
215(1)
Reference as Parameter
215(3)
Control
218(25)
Branching
218(2)
Looping
220(8)
Tell
228(1)
Using Terms From
229(3)
With
232(2)
Considering/Ignoring
234(2)
Errors
236(6)
Second-Level Evaluation
242(1)
Datatypes
243(21)
Boolean
243(1)
Integer, Real, and Number
244(1)
Date
245(2)
String
247(2)
Unicode Text
249(2)
Styled Text
251(1)
File
251(2)
Alias
253(2)
Application
255(1)
Machine
255(1)
Data
256(1)
List
256(5)
Record
261(3)
Coercions
264(8)
Implicit Coercion
264(1)
Explicit Coercion
265(2)
Boolean Coercions
267(1)
String, Number and Date Coercions
268(1)
File Coercions
268(1)
List Coercions
269(1)
Unit Conversions
270(2)
Operators
272(13)
Arithmetic Operators
272(2)
Boolean Operators
274(1)
Comparison Operators
275(2)
Containment Operators
277(2)
Concatenation Operator
279(2)
Parentheses
281(1)
Who Performs an Operation
282(3)
Global Properties
285(4)
Strings
286(1)
Numbers
287(1)
Miscellaneous
288(1)
Constants
289(3)
Commands
292(5)
Application Commands
292(1)
Logging Commands
293(4)
Part III. AppleScript In Action
Dictionaries
297(35)
Resolution of Terminology
298(3)
Resolution Difficulties
301(8)
What's in a Dictionary
309(11)
The `aeut' Resource
320(1)
Inadequacies of the Dictionary
321(11)
Scripting Additions
332(17)
Pros and Cons of Scripting Additions
332(1)
Scripting Additions and Speed
333(1)
Classic Scripting Additions
334(1)
Loading Scripting Additions
335(1)
Standard Scripting Addition Commands
336(13)
Scriptable Applications
349(7)
Targeting Scriptable Applications
349(4)
Some Scriptable Applications
353(3)
Unscriptable Applications
356(6)
Getting Started with Accessibility
357(1)
GUI Scripting Examples
358(4)
Unix
362(8)
Do Shell Script
362(3)
Osascript
365(5)
Writing Applications
370(61)
Applets
370(7)
Digital Hub Scripting
377(1)
Folder Actions
377(2)
CGI Application
379(3)
AppleScript Studio
382(23)
Part IV. Appendixes
A. The `aeut' Resource
405(19)
B. Tools and Resources
424(7)
Index 431