AppleScript: The Definitive Guide, 2nd Edition
Scripting and Automating Your Mac
Publisher: O'Reilly Media
Final Release Date: January 2006
Pages: 592

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.

Table of Contents
Product Details
About the Author
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyAppleScript: The Definitive Guide, 2nd Edition
 
4.3

(based on 4 reviews)

Ratings Distribution

  • 5 Stars

     

    (2)

  • 4 Stars

     

    (1)

  • 3 Stars

     

    (1)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

Reviewed by 4 customers

Sort by

Displaying reviews 1-4

Back to top

(0 of 1 customers found this review helpful)

 
3.0

I'm just stupid, i guess

By salvadorepix

from Santa Barbara, CA

Comments about oreilly AppleScript: The Definitive Guide, 2nd Edition:

Everything I try using this book still leaves me unable to connect with files that I have in a list. I have been hacking away at this for weeks. trying every combination of syntax: file references, POSIX paths etc, etc, from every nook and corner of the book. Always bad file name or non existent file bad value, error, error, error, etc. , when I show the variable it sits in to be exactly right, on the line just above where I am trying to use it. . CAn it be so strange - what I am doing - to automate making make a bunch of web pages in a single folder, that such a basic thing and obvious trip-ups to doing it would not be covered somewhere in such a big book?

(1 of 2 customers found this review helpful)

 
5.0

Truth in Advertising

By Thomas Beek

from Undisclosed

Comments about oreilly AppleScript: The Definitive Guide, 2nd Edition:

The author dispels the "ease of use" myth in the preface, and proceeds to teach a scholarly course on AppleScript.

(7 of 8 customers found this review helpful)

 
5.0

Excellent reference manual for a niche language

By Allen Stenger

from Undisclosed

Comments about oreilly AppleScript: The Definitive Guide, 2nd Edition:

This is an exhaustive reference manual for AppleScript, a scripting language included with all Macintoshes. It is not a tutorial, but if you have some programming experience of any kind you will be able to use this manual to construct AppleScripts. The book was published in January 2006 and is up-to-date through Tiger (Mac OS X 10.4). It includes a little coverage of Automator. There is some description of other helpful tools such as Script Debugger, a third-party replacement for Apple's Script Editor that provides a lot of additional capability.

I did some work in AppleScript about ten years ago to automate a nightly build process. AppleScript was the right tool for the job, but getting it to work was a lot of aggravation and I didn't look at AppleScript again. Recently I was asked to prepare some AppleScript demos for my local computer user group, and I got this book as a reference. AppleScript is still as aggravating as ever, but I was able to answer all my questions and complete the demos by using this book and its wonderful index.

AppleScript has evolved a lot in the past ten years, in particular by adding a number of object-oriented ideas and by increasing its interoperability with other programming systems (for example, Python, JavaScript, Perl, Ruby, Carbon and Cocoa based applications). Neuburg does a good job of explaining all these features, and he is particularly good on strategy issues. AppleScript can be used by itself but hardly ever is; you should always be thinking of combining it with existing applications and systems to solve your problem.

The major challenge in AppleScript was and remains figuring out the data types and operations supported by a particular application. Neuburg is honest about this, and recommends extensive experimentation and test scripts to figure out how the applications work.

Is AppleScript worth knowing? Neuburg doesn't really make a strong case for this, although his Chapter 1 is a good try. He works through an impressive example in Appendix A, including all the roadblocks and wrong turns. But the example is to clean up a book manuscript prepared in FrameMaker to meet the publisher's standards before turning it in. I think this is a good job for AppleScript, but how many people would need to do this job? I think AppleScript is still a niche language, but if you work in that niche this is an excellent reference.

(10 of 10 customers found this review helpful)

 
4.0

Excellent book on a Difficult topic

By Goodbye Helicopter

from Undisclosed

Comments about oreilly AppleScript: The Definitive Guide, 2nd Edition:

I got this book after a fellow Rubyist recommended it for learning enough AppleScript to mix it with Ruby for OS X development.

As always, it's a good idea to have more than one book or reference, but this one covers most of it.

The beginning is long and slow going, but really makes a HUGE difference in understanding what's going on with AppleScript later.

If you have ever even toyed with cocoa, xcode and interface builder, you'll already understand what's happening with script bundles and such.

You'll benefit greatly from this book if you're already a Ruby or Perl user.

Let's just say that AppleScript on its own is pretty rough stuff. Combined with another scripting language like Ruby, Perl or Python (all of which are bundled with OS X) you can use AppleScript for what you have to or need to and still use friendlier languages to make things happen.

If only Ruby or Perl or Python could do these things on their own with out any AppleScript...

I digress, Mr. Neuberg does a pretty outstanding job here and writes in a style that is readable and intelligible.

When he tells you to stop and go read Appendix A, the sort of day-in-the-life-cycle of AppleScript development, READ IT.

It is without doubt, the single most important part of the book. It really gives you a solid, realistic set of expectations of life in the land of applescript.

It is pretty much a hack-it-as-you-go language.

Rubyists, Pythonistas, and Perl People will be on good footing here.

Displaying reviews 1-4

Back to top

 
Buy 2 Get 1 Free Free Shipping Guarantee
Buying Options
Immediate Access - Go Digital what's this?
Ebook: $31.99
Formats:  DAISY, ePub, Mobi, PDF
Print & Ebook: $43.99
Print: $39.99