Join Amazon Prime and ship Two-Day for free and Overnight for $3.99. Already a member? Sign in.

 

or
Sign in to turn on 1-Click ordering.
 
   
More Buying Choices
43 used & new from $12.22

Have one to sell? Sell yours here
 
   
AppleScript: The Definitive Guide, 2nd Edition
 
 
Tell the Publisher!
I’d like to read this book on Kindle

Don’t have a Kindle? Get yours here.
 
  

AppleScript: The Definitive Guide, 2nd Edition (Paperback)

by Matt Neuburg (Author)
Key Phrases: compiled script file, text item delimiters, scripting addition command, Script Debugger, System Events, Microsoft Entourage (more...)
3.8 out of 5 stars See all reviews (36 customer reviews)

List Price: $39.99
Price: $26.39 & this item ships for FREE with Super Saver Shipping. Details
You Save: $13.60 (34%)
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.

Want it delivered Tuesday, July 7? Choose One-Day Shipping at checkout. Details
29 new from $20.00 14 used from $12.22
Also Available in: List Price: Our Price: Other Offers:
Paperback (1) 36 used & new from $0.22

Best Value

Buy AppleScript: The Definitive Guide, 2nd Edition and get Programming Groovy: Dynamic Productivity for the Java Developer (Pragmatic Programmers) at an additional 5% off Amazon.com's everyday low price.

AppleScript: The Definitive Guide, 2nd Edition + Programming Groovy: Dynamic Productivity for the Java Developer (Pragmatic Programmers)
Buy Together Today: $48.31

Show availability and shipping details


Customers Who Bought This Item Also Bought

Beginning AppleScript (Programmer to Programmer)

Beginning AppleScript (Programmer to Programmer)

by Stephen G. Kochan
4.0 out of 5 stars (6)  $30.14
Apple Training Series: AppleScript 1-2-3

Apple Training Series: AppleScript 1-2-3

by Sal Soghoian
4.8 out of 5 stars (9)  $31.49
AppleScript: The Missing Manual

AppleScript: The Missing Manual

by Adam Goldstein
3.6 out of 5 stars (23)  $16.47
Cocoa(R) Programming for Mac(R) OS X (3rd Edition)

Cocoa(R) Programming for Mac(R) OS X (3rd Edition)

by Aaron Hillegass
4.4 out of 5 stars (98)  $31.49
Mac OS X Leopard: The Missing Manual

Mac OS X Leopard: The Missing Manual

by David Pogue
4.7 out of 5 stars (171)  $23.09
Explore similar items

Editorial Reviews

Product Description
Mac users everywhere--even those who know nothing about programming--are discovering the value of the latest version of AppleScript, Apple's vastly improved scripting language for Mac OS X Tiger. And with this new edition of the top-selling AppleScript: The Definitive Guide, anyone, regardless of your level of experience, can learn to use AppleScript to make your Mac time more efficient and more enjoyable by automating repetitive tasks, customizing applications, and even controlling complex workflows.

Fully revised and updated--and with more and better examples than ever--AppleScript: The Definitive Guide, 2nd Edition explores AppleScript 1.10 from the ground up. You will learn how AppleScript works and how to use it in a variety of contexts: in everyday scripts to process automation, in CGI scripts for developing applications in Cocoa, or in combination with other scripting languages like Perl and Ruby.

AppleScript has shipped with every Mac since System 7 in 1991, and its ease of use and English-friendly dialect are highly appealing to most Mac fans. Novices, developers, and everyone in between who wants to know how, where, and why to use AppleScript will find AppleScript: The Definitive Guide, 2nd Edition to be the most complete source on the subject available. It's as perfect for beginners who want to write their first script as it is for experienced users who need a definitive reference close at hand.

AppleScript: The Definitive Guide, 2nd Edition begins with a relevant and useful AppleScript overview and then gets quickly to the language itself; when you have a good handle on that, you get to see AppleScript in action, and learn how to put it into action for you. An entirely new chapter shows developers how to make your Mac applications scriptable, and how to give them that Mac OS X look and feel with AppleScript Studio. Thorough appendixes deliver additional tools and resources you won't find anywhere else. Reviewed and approved by Apple, this indispensable guide carries the ADC (Apple Developer Connection) logo.



About the Author
Matt Neuburg has been programming computers since 1968. He majored in Greek at Swarthmore College, and received his PhD from Cornell University in 1981. Hopelessly hooked on computers since migrating to a Macintosh in 1990, he's written educational and utility freeware, and became an early regular contributor to the online journal TidBITS. In 1995, Matt became an editor for MacTech Magazine. He is also the author of "Frontier: The Definitive Guide" and "REALbasic: The Definitive Guide" for O'Reilly.

Product Details

  • Paperback: 590 pages
  • Publisher: O'Reilly Media, Inc.; 2 edition (January 4, 2006)
  • Language: English
  • ISBN-10: 0596102119
  • ISBN-13: 978-0596102111
  • Product Dimensions: 9.2 x 7.1 x 1.2 inches
  • Shipping Weight: 1.8 pounds (View shipping rates and policies)
  • Average Customer Review: 3.8 out of 5 stars See all reviews (36 customer reviews)
  • Amazon.com Sales Rank: #154,283 in Books (See Bestsellers in Books)

    Popular in these categories: (What's this?)

    #3 in  Books > Computers & Internet > Apple > Applescript
    #9 in  Books > Computers & Internet > Apple > Mac OS X UNIX
    #11 in  Books > Reference > Dictionaries & Thesauruses > Computer Dictionaries

Inside This Book (learn more)


Books on Related Topics (learn more)
 
 

What Do Customers Ultimately Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
Check the boxes next to the tags you consider relevant or enter your own tags in the field below.
(2)

Your tags: Add your first tag
 
Help others find this product — tag it for Amazon search
No one has tagged this product for Amazon search yet. Why not be the first to suggest a search for which it should appear?

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

 

Customer Reviews

36 Reviews
5 star:
 (16)
4 star:
 (7)
3 star:
 (5)
2 star:
 (4)
1 star:
 (4)
 
 
 
 
 
Average Customer Review
3.8 out of 5 stars (36 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
182 of 186 people found the following review helpful:
5.0 out of 5 stars At last, the truth about AppleScript, December 11, 2003
By David Cortesi (Palo Alto, CA USA) - See all my reviews
(REAL NAME)   
Apple has long pushed AppleScript as an easy-to-learn, English-like way of automating repetitive tasks on a Mac. Alas, I and many, many others have discovered from painful experience that AppleScript is hugely difficult to approach -- its learning curve never seems to flatten out. Even after writing thousands of lines of code in several programs that (eventually) worked, I still feel I'm groping in the dark every time I try something new. I've read other books on AppleScript, looking for one that would open the magic door and reveal the simple, friendly AppleScript that's supposed to exist.

Matt Neuburg has given us the first AppleScript book that tells the deep truth: AppleScript is a quirky, inconsistent programming language that is not only hard to learn, but hard to learn for fundamental, structural reasons. Neuburg exposes the unavoidable difficulties that are built into AppleScript's design, and then shows us practical techniques for accomodating to them and using them.

Anyone who reads this book carefully will be able to apply AppleScript with greater understanding and less wasted time, and be able to use it with far less of the disappointment, frustration, and even rage felt by all too many people who collide unprepared with AppleScript's tricks and traps.

Since there's no "look inside the book" feature, let me summarize the main sections. Part I explores AppleScript in a system context: what it is meant to do; how it is used (with an intro to the Script Editor); and what its basic concepts are. (Contra another reviewer, this 90pp part contains nothing about history; it's all current and relevant stuff, needed later in the book.)

Central to Part I is Chapter 3, "The AppleScript Experience," which describes the actual process of building a program. This chapter so perfectly reflected the confusions, frustrations, and dead-ends that I've experienced with AppleScript that I was sold: this guy really understands the problems! He doesn't minimize them or blame them on me. Maybe he can show me ways to work around them, but whether he does or not, at least he'd validated them.

Part II, 200pp, is a detailed and insightful exposition of the AppleScript language. Early in this part is a discussion of "The 'English-Likeness' Monster," showing how the attempt to be friendly distorts the language and confuses users.

Then Neuburg examines every detail of AppleScript's syntax and semantics. He doesn't do this like a typical "tech writer," rephrasing the official documentation. He has taken the time to write code to test out every corner case and exception of the language, and he lays them all bare. He looks into AppleScript's baroque scoping rules and its inconsistent rules for implicit coercion of types.

All of Part II is meat and drink to a fan of programming languages, and I read it through like a good novel. More to the point, it's a deep and thorough job of documenting the actuality of AppleScript: what syntax works, what the tricks and traps are, and what to avoid.

Part III tries to extend the same thorough methods to the process of creating applications in AppleScript, beginning with application dictionaries. Here Neuburg, like every other AppleScript user, bangs hard into the basic structural flaw of AppleScript: that all the interesting semantics and no small part of the syntax are implemented in other applications, not in AppleScript. Everything you want to actually accomplish with AppleScript, you do by sending messages to other programs -- the Finder, TextEdit, BBEdit, Mail, and so forth. The only documentation you have is each app's dictionary, and it can never be adequate. Chapter 19, "Dictionaries," contains a long editorial on "Inadequacies of the Dictionary" that details all the reasons that an app's dictionary can never tell you enough to use the app. Some of the reasons are structural (there's just no way to express the needed information) and some are due to human failure (the people who write dictionaries do a clumsy, inconsistent, and sometimes erroneous job). Neuburg can't fix these issues, but he does his best to prepare you to work around them. Nevertheless, as he says in another context, "AppleScript programming is often indistinguishable from guessing."

To sum up: this book is a deep, thorough exploration of all the quirks, dusty corners, and skeleton-filled closets of AppleScript. Reading it will make you far better prepared to use AppleScript productively.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
102 of 105 people found the following review helpful:
3.0 out of 5 stars It is the best of books, it is the worst of books., February 4, 2004
By D. Trevas (Houston. Texas) - See all my reviews
(REAL NAME)   
Sorry, Mr. Dickens, I just had to.

First, the bad parts. If you are a beginner to AppleScript (particularly if you've had little programming or scripting experience), DO NOT even think about looking at this book. It will be so confusing and discouraging, you'll leave angry. There are plenty of books that show you how to do simple things easily with AppleScript. They may be deluding you into thinking that it will be simple to use AppleScript for more complex tasks, but at least, you'll be getting hands-on learning in the meantime. No book can be truly suitable for beginners AND experts and I never believed that claim about this book. Sorry, beginners, this book is STRICTLY for intermediate to advanced users.

Having said that, I can begin to shower praise upon this masterpiece. As someone who has done some AppleScripting and have been through a lot of frustration doing anything beyond cookie-cutter work, Chapter 3 boosted my self-esteem about 10 notches! That chapter details Matt Neuberg's odyssey through the labyrinthine task of scripting FrameMaker. Been there, done that (in other apps)! So, I'm not such an idiot -- some of these object models aren't crystal clear.

I had always thought that AppleScript was the underrated, undersold and underused secret weapon that the Mac platform could wield over the competitors, especially the dreaded Windows! After using it and then having my suspicions confirmed by this book, I realize that despite all its power, AppleScript has failed in its mission of being the intuitively obvious, easy-to-use, simple, everyday, plain English, "scripting/programming-for-the-rest-of-us" tool it apparently was developed to be. The good news is that if you are the true target audience for this book, you will be able to help out ordinary Mac users for fun and profit.

I believe there is a definite line dividing the people who must have and will love this book from those who should avoid it like the plague (until they get some AS experience elsewhere). I hope this helps you decide.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
38 of 41 people found the following review helpful:
5.0 out of 5 stars Mac Guild Review, January 29, 2004
By A Customer
AppleScript The Definitive Guide

What the Book is About

This book aims to provide a complete explanatory manual and reference to AppleScript, up to date with Mac OS X 10.3 (Panther).

Target Audience

The introduction states that the book assumes no prior knowledge of AppleScript or of any other programming language. While I agree that no knowledge of AppleScript is required, it's challenging to consider someone with no programming knowledge starting out with this book to use AppleScript as their first programming language. For experienced Applescript users, the book is likely to be an essential reference.

What NOT to Expect

Perhaps like many others who had not used AppleScript, I believed it was a simple, English-like language that was very easy to use. I jumped eagerly in at the first chapter, certain that I would soon be told go sit at my Mac and type my first 'Hello World' AppleScript into some application or other.

As I read and read chapter after chapter from the sofa, I realized it was not going to be quite so simple in either case.

AppleScript, according to the author, has come close to extinction in the past, but is now entering a 'golden age'; it is a technical innovation and a labor saving device for the ordinary Mac user, yet it's not true to say that it's an intuitive language needing no real explanation.

What to Expect

In reading this book, the author's (Matt Neuburg) expertise in AppleScript becomes immediately apparent. So too does his extremely erudite writing style. For example, when I got to the list of 'apothegms' and discovered that this synonym for 'saying' or 'maxim' was dictionary.com's word of the week on June the 9th, 2000, I naturally began to wonder whether he read dictionary.com every week for fun.

As it transpires, the author has degrees in ancient Greek and Classical Philology and had a career as an academic classicist before starting a new career in computing. He thinks computer languages are relatively easy. (See http://www.tidbits.com/matt/).

The trouble with AppleScript is that to use it you have to use it to script an application, each application has a different vocabulary stored in its dictionary, and dictionaries in general have no manuals of their own. If someone tried to write one book that said precisely how to script every application, it would need to contain a dictionary manual for each application, and would therefore be enormous.

While there are books about AppleScript for single applications, Matt Neuburg quite simply wants to get you to see AppleScript through his eyes and learn to use it as he does, finding out what you need to know as you go along.

Part 1 - AppleScript Overview starts by identifying when and why you would want to use AppleScript - for example whenever you get bored doing something very repetitive with your computer. Also discussed in this part of the book are the different environments for creating AppleScripts and some of the important concepts and principles.

The singular feature of this section is that it contains a complete worked example of how to create an AppleScript to do a repetitive document management task. The example uses Framemaker; this has the disadvantage that people who don't have Framemaker won't be able to try it out. The point is to illustrate that no prior knowledge of the Framemaker dictionary is required - you can figure it out for yourself if you know how to ask the application !

Part 2 - The AppleScript Language, is intended as both a reference and instruction. As the author says, 'the order of the exposition is pedagogical' - you are supposed to read the chapters in order. This section explains all the language features and illustrates pitfalls including those caused by forgetting AppleScript is not English.

Part 3 - AppleScript in Action, is where, as the author puts it, having learned to use the sword in Part 2, you now go out and do battle. It covers dictionaries, scripting additions, working with applications both scriptable and unscriptable, working with UNIX and finally writing your own applications. Again in this section problems are foreseen and solutions provided.

There are appendices on Apple's 'aeut' resource and general AppleScript resources such as websites.

Highlights

The depth of the coverage is amazing and the approach of teaching you how to learn for yourself is refreshing.

If you are interested in linguistics as well as computer languages then this book is a delight. A language manual written by a linguist, it frequently compares and contrasts AppleScript to English and other computer languages.

Mac Guild Grade

A+ (Awesome)

Final Words

If you want to know everything there is to know about AppleScript, then this book is essential.

If on the other hand you are looking for a very practical tutorial or cookbook, be warned that after reading all of this book, I still have not typed any 'Hello World' AppleScript into AppleScript Studio. Maybe I just don't do enough boring, repetitive tasks with my Mac.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews

3.0 out of 5 stars Pretty Good Book about a Problematical Language
I'm a big fan of scripting languages -- I've been scripting the UNIX shells since 1978, and I've done a lot of work with Perl since the early 1990s. Read more
Published 5 months ago by John Hevelin

5.0 out of 5 stars Excellent reference manual for a niche language
This is an exhaustive reference manual for AppleScript, a scripting language included with all Macintoshes. Read more
Published 16 months ago by Allen Stenger

5.0 out of 5 stars the grammar book of AppleScript
We wouldn't know something, especially certain technology very well until we know its limitations (or exceptions). Read more
Published 20 months ago by Zhe Hu

4.0 out of 5 stars A book to be read again and again -- or not at all!
No, don't start with "AppleScript: The Definitive Guide." Although I was highly motivated, diligent, and intelligent (if I may say so), Neuburg's exigent, articulate, and... Read more
Published on May 8, 2007 by J. Eric Schonblom

4.0 out of 5 stars Excellent book, but even better with Amazon or O'Reilly "search"
Matt Neuburg's AppleScript book is an excellent overview of AppleScript. Alas, it is limited, as all such books are, by AppleScript's peculiar nature. Read more
Published on April 8, 2007 by John Faughnan

3.0 out of 5 stars Not helpful to a beginner
It seems like key pieces of information have been left out of this book, which is very atypical for any of the Definitive Guide series from O'Reilly, and of O'Reilly books in... Read more
Published on February 18, 2007 by calvinnme

5.0 out of 5 stars A great book for intermediate or advanced users...
I'm frankly surprised by some of the reviews which suggest this is a great beginner's book... I really don't think so. Read more
Published on February 12, 2007 by V. L. Angeloni

5.0 out of 5 stars Great for top-to-bottom understanding
Matt Neuburg has written a great text. It's easy to read and understand, and it's great a for a thorough understanding of the language. Read more
Published on February 8, 2007 by Jeffrey Strauss

4.0 out of 5 stars Applescript: The Difinitive Edition
This book makes it easy to learn the basics of Applescript. The author is adept at taking the reader (student) by the hand and covering the territory.
Published on November 10, 2006 by Edward R. Fleming

2.0 out of 5 stars Good for ADVANCED Applescript -- NOT beginners
The problem with this book is that it seems to be the "default" book for the subject...which it should not be. Read more
Published on October 29, 2006 by Geoffrey Speare

Only search this product's reviews



Customer Discussions

 Beta (What's this?)
New! See all customer communities, and bookmark your communities to keep track of them.
This product's forum (0 discussions)
  Discussion Replies Latest Post
  No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
  [Cancel]


Active discussions in related forums
   


Product Information from the Amapedia Community

Beta (What's this?)


Look for Similar Items by Category


SpaFeatures: Free Shipping

bath poof
Get free shipping on all SpaFeatures orders of $50 or more. See new items from SpaFeatures here.

Shop SpaFeatures now

 

Big Savings in Books

Bargain Books
Find great titles at fantastic prices in our Bargain Books Store.
 

Black & Decker Drills

Shop for Black & Decker Drills
From light duty to high performance, Black & Decker offers a complete line of drills for every job.

Shop now

 

What Can Air Tools Do for You?

Shop air tools at Amazon.com
Put the power of air to work with new pneumatics from the Air Tools & Compressors Store. A variety of air tools and compressors are available for any number of projects at prices you'll like.

Explore air tools

 

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Where's My Stuff?

Shipping & Returns

Need Help?

Your Recent History

  (What's this?)
You have no recently viewed items or searches.

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.

Look to the right column to find helpful suggestions for your shopping session.

Continue shopping: Top Sellers
Paranoia
Paranoia by Joseph Finder
Glenn Beck's Common Sense
Glenn Beck's Common Sense
Darkfever
Darkfever by Karen Marie Moning

Conditions of Use | Privacy Notice © 1996-2009, Amazon.com, Inc. or its affiliates