Applescript : The Definitive Guide (Paperback)
Matt Neuburg
- 出版商: O'Reilly
- 出版日期: 2003-12-04
- 售價: $1,560
- 貴賓價: 9.5 折 $1,482
- 語言: 英文
- 頁數: 480
- 裝訂: Paperback
- ISBN: 0596005571
- ISBN-13: 9780596005573
已過版
買這商品的人也買了...
-
$680$537 -
$2,620$2,489 -
$980$774 -
$1,330$1,260 -
$1,170$1,112 -
$1,650$1,568 -
$760$600 -
$590$466 -
$1,170$1,112 -
$690$538 -
$780$663 -
$750$713 -
$490$382 -
$720$569 -
$800$760 -
$560$504 -
$450$356 -
$2,350$2,233 -
$1,068Fundamentals of Database Systems, 4/e (IE)
-
$650$585 -
$650$553 -
$450$360 -
$1,995C++ Coding Standards: 101 Rules, Guidelines, and Best Practices (Paperback)
-
$650$507 -
$580$452
相關主題
商品描述
Summary
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.
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.
Table of Contents
Preface
Part I. AppleScript Overview
1. Ways to Use AppleScript
The Nature and Purpose of AppleScript
Is This Application Scriptable?
Calculation and Repetition
Reduction
Customization
Combining Specialties2. Places to Use AppleScript
Script Editor
Scripting Environment
Internally Scriptable Application
Script Runner
Automatic Location
Application
Unix3. The AppleScript Experience
The Problem
A Day in the Life
Conclusions, Lessons, and Advice4. Basic Concepts
Apple Event
The Open Scripting Architecture
Script
Compiling and Decompiling
Script Text File
Applet and Droplet
Scripting Addition
Dictionary
Scriptable, Recordable, AttachablePart II. The AppleScript Language
5. Introducing AppleScript
A "Little Language"
Extensibility and Its Perils
The "English-likeness" Monster
Object-likeness
LISP-likeness
The Learning Curve6. Syntactic Ground of Being
Lines
Result
Comments
Abbreviations and Synonyms
Blocks
The7. Variables
Assignment and Retrieval
Declaration and Definition of Variables
Variable Names
Scoping of Variables
Script Properties
Lifetime of Variables8. Handlers
Returned Value
Parameters
Syntax of Defining and Calling a Handler
Pass By Reference
Scoping of Handlers
Handlers as Values9. 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
Inheritance10. Objects
Class
Target
Get
It
Me
Properties and Elements
Element Specifiers
Properties of Multiple References
Object String Specifier11. References
References as Incantations
Creating a Reference
Identifying References
Dereferencing a Reference
Creating References to Local Variables
Reference as Parameter12. Control
Branching
Looping
Tell
Using Terms From
With
Considering/Ignoring
Errors
Second-Level Evaluation13. Datatypes
Boolean
Integer, Real, and Number
Date
String
Unicode Text
Styled Text
File
Alias
Application
Machine
Data
List
Record14. Coercions
Implicit Coercion
Explicit Coercion
Boolean Coercions
String, Number and Date Coercions
File Coercions
List Coercions
Unit Conversions15. Operators
Arithmetic Operators
Boolean Operators
Comparison Operators
Containment Operators
Concatenation Operator
Parentheses
Who Performs an Operation16. Global Properties
Strings
Numbers
Miscellaneous17. Constants
18. Commands
Application Commands
Logging CommandsPart III. AppleScript In Action
19. Dictionaries
Resolution of Terminology
Resolution Difficulties
What's in a Dictionary
The 'aeut' Resource
Inadequacies of the Dictionary20. Scripting Additions
Pros and Cons of Scripting Additions
Scripting Additions and Speed
Classic Scripting Additions
Loading Scripting Additions
Standard Scripting Addition Commands21. Scriptable Applications
Targeting Scriptable Applications
Some Scriptable Applications22. Unscriptable Applications
Getting Started with Accessibility
GUI Scripting Examples23. Unix
Do Shell Script
Osascript24. Writing Applications
Applets
Digital Hub Scripting
Folder Actions
CGI Application
AppleScript StudioPart IV. Appendixes
A. The 'aeut' Resource
B. Tools and Resources
Index