CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Wed, 16 Jul 2025 06:43:31 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20090430104652
location: https://web.archive.org/web/20090430104652/https://oreilly.com/catalog/9780596005573
server-timing: captures_list;dur=0.555003, exclusion.robots;dur=0.023244, exclusion.robots.policy;dur=0.011252, esindex;dur=0.010643, cdx.remote;dur=22.461507, LoadShardBlock;dur=329.657912, PetaboxLoader3.datanode;dur=147.769639, PetaboxLoader3.resolve;dur=52.059870
x-app-server: wwwb-app223
x-ts: 302
x-tr: 378
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
set-cookie: SERVER=wwwb-app223; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Wed, 16 Jul 2025 06:43:32 GMT
content-type: text/html
x-archive-orig-date: Thu, 30 Apr 2009 10:46:29 GMT
x-archive-orig-server: Apache
x-archive-orig-p3p: policyref="https://www.oreillynet.com/w3c/p3p.xml",CP="CAO DSP COR CURa ADMa DEVa TAIa PSAa PSDa IVAa IVDa CONo OUR DELa PUBi OTRa IND PHY ONL UNI PUR COM NAV INT DEM CNT STA PRE"
x-archive-orig-last-modified: Fri, 24 Apr 2009 03:13:45 GMT
x-archive-orig-accept-ranges: bytes
x-archive-orig-content-length: 44345
x-archive-orig-connection: close
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: iso-8859-1
memento-datetime: Thu, 30 Apr 2009 10:46:52 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Mon, 12 May 2008 18:09:33 GMT", ; rel="prev memento"; datetime="Thu, 01 Jan 2009 03:10:24 GMT", ; rel="memento"; datetime="Thu, 30 Apr 2009 10:46:52 GMT", ; rel="next memento"; datetime="Thu, 01 Oct 2009 12:00:27 GMT", ; rel="last memento"; datetime="Sun, 24 Nov 2024 23:48:51 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 51_9_20090430084304_crawl101-c/51_9_20090430104556_crawl100.arc.gz
server-timing: captures_list;dur=0.493029, exclusion.robots;dur=0.020672, exclusion.robots.policy;dur=0.010220, esindex;dur=0.011764, cdx.remote;dur=14.401879, LoadShardBlock;dur=236.763261, PetaboxLoader3.datanode;dur=365.650136, load_resource;dur=659.451207, PetaboxLoader3.resolve;dur=118.731219
x-app-server: wwwb-app223
x-ts: 200
x-tr: 976
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
AppleScript: The Definitive Guide | O'Reilly Media
Featured customer reviews
AppleScript: The Definitive Guide Review, April 02 2004
Totally agree with Diane Love... 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.
Emos
AppleScript: The Definitive Guide Review, January 29 2004
AppleScript The Definitive Guide
By Matt Neuburg
1st Edition November 2003
0-596-00557-1
453 pages, $39.95 US
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 https://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.
AppleScript: The Definitive Guide Review, January 12 2004
I've dilly-dallied with AppleScript for years, and everytime given up in frustration. Now that I am half way through this new book, I understand why: its suppose to be like that!
Seriously, if you only by the book for Chapter 3, Matt's own experience in trying to get FrameMaker to do something he needed it to do, it would be worth the price of the book! What you get out of this is that its never going to be easy to get an unknown application (that is, to you!) to do what you want it to do - at least not right away. And he goes on to explain over and over that even though an application may accept Standard Suite events, it may ignore some or all of the parameters you send it! So, I finally found out - its not me - its the system!!!
Now that I understand my expectations are not reset, I have started to again play with Script Editor (on Panther) and scripting various events. I subscribe to the AppleScript users list on the Apple Developer site, and recently there was a thread on how to get a progress bar. Someone posted a script that opened TextEdit, set the window size to a long thin rectangle, send a stream of '|' characters such that it looked like an old style progress bar.
It looked interesting, so I played with it for a while. The script tells TextEdit to open a blank window, then it sets the title, sets the bounds, then starts writing. So, I think - if you could open the window with a title of "Progress..." and a bounds already set, that would be cool. I look in the TextEdit dictionary and there is a "with properties" option under "make new window". So I try it. Sigh. Its compiles, and runs, but TextEdit ignores the properties. Now, before I read Matt's book, I would have thought it was me. Now I know TEXTEDIT IS BROKEN! Not the end of the world, but its not me! I feel better already! [Note: I tested with Tex-Edit Plus, which takes the same make directive but honors the properties! ]
The above is illustrative of the thinking that this book provokes. Matt has a great blend of provoking thought, warning you of pitfalls, and constantly reminding you to experiement as you cannot read how to script a given application in a book, even this one!
I'm only half way through nowl, but am now engaged and feeling good about what I am learning. Matt has a conversational tone, as if you were in a small classroom and looking at one another - so its not another dull tome. He takes you to an amazing depth, slowly while building to it, and when you're done a chapter, and now understand some aspect of AppleScript, you may find yourself smiling that this has happened withour your hardly knowing it was happening.
I've been reading a few chapters each day, then playing around with Script Editor to lock in what I am learning. I have skimmed through the later chapters on occasion to find an answer, and I've always found one.
The only very minor complaint I have is that, for me, it would have been nice to have a small set of questions at end - like exercises - little tasks for the user to try to get them to stop reading and start coding. I find modifying existing example scripts is useful - others may prefer to make some exercises up for themselves.
That said, the buzz on Apple's list server has been extremely positive from a large group of users, some of whom have scripted for years. I personally have several other AppleScript books, and this one is head and shoulders above the rest. If you have any interest at all in using or even understanding AppleScript, you will find this book an invaluable companion. Its even an enjoyable read!
Media reviews "If you are a serious student or have grounding in other programming languages, it will be hard to find a better guidebook. Unlike Apple's own documentation, Neuburg provides an honest, unprejudiced appraisal of AppleScript's strengths and weaknesses and offers expert guidance in working with and around them...['AppleScript: The Definitive Guide' ] is unquestionably the most comprehensive and unbiased guide to the language ever written. Reading through it is a little like sitting in on a graduate course in AppleScript...if you're willing to sit down and expend the effort to follow the book through, you will be rewarded with the benefits of not only the author's years of programming experience, but his remarkable analytical and problem solving skills."
--Ric Getter, MacDirectory, Spring-Summer '04 (Issue 21)
https://www.macdirectory.com/newmd/mac/pages/REVIEWS/BookReviews-SU04/
"AppleScript is incomprehensible without a guide. REALbasic guru (and frequent RBD contributor) Matt Neuburg comes to the rescue...If you really want to understand the fundamentals or advanced features of the language (like how many 'tell' strucutures you can nest), this is the book for you."
--Marc Zeedar, Real Basic Developer Magazine, July 2004
"A complete and thorough guide...An essential resource for developers and power users."
--Major Keary, PC Update, July 2004
Read all reviews
AppleScript: The Definitive Guide
By Matt Neuburg
November 2003
Pages: 476
ISBN 10: 0-596-00557-1 |
ISBN 13: 9780596005573
(Average of 3 Customer Reviews)
This book has been updated—the edition you're requesting is OUT OF PRINT. Please visit the catalog page of the latest edition.
The latest edition is also available on Safari Books Online.
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.
Full Description
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.
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.
Featured customer reviews
AppleScript: The Definitive Guide Review, April 02 2004
Rating:




Submitted by +
[Respond | View]




Totally agree with Diane Love... 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.
Emos
AppleScript: The Definitive Guide Review, January 29 2004
Rating:




Submitted by Diane Love
[Respond | View]




AppleScript The Definitive Guide
By Matt Neuburg
1st Edition November 2003
0-596-00557-1
453 pages, $39.95 US
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 https://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.
AppleScript: The Definitive Guide Review, January 12 2004
Rating:




Submitted by David Hoerl
[Respond | View]




I've dilly-dallied with AppleScript for years, and everytime given up in frustration. Now that I am half way through this new book, I understand why: its suppose to be like that!
Seriously, if you only by the book for Chapter 3, Matt's own experience in trying to get FrameMaker to do something he needed it to do, it would be worth the price of the book! What you get out of this is that its never going to be easy to get an unknown application (that is, to you!) to do what you want it to do - at least not right away. And he goes on to explain over and over that even though an application may accept Standard Suite events, it may ignore some or all of the parameters you send it! So, I finally found out - its not me - its the system!!!
Now that I understand my expectations are not reset, I have started to again play with Script Editor (on Panther) and scripting various events. I subscribe to the AppleScript users list on the Apple Developer site, and recently there was a thread on how to get a progress bar. Someone posted a script that opened TextEdit, set the window size to a long thin rectangle, send a stream of '|' characters such that it looked like an old style progress bar.
It looked interesting, so I played with it for a while. The script tells TextEdit to open a blank window, then it sets the title, sets the bounds, then starts writing. So, I think - if you could open the window with a title of "Progress..." and a bounds already set, that would be cool. I look in the TextEdit dictionary and there is a "with properties" option under "make new window". So I try it. Sigh. Its compiles, and runs, but TextEdit ignores the properties. Now, before I read Matt's book, I would have thought it was me. Now I know TEXTEDIT IS BROKEN! Not the end of the world, but its not me! I feel better already! [Note: I tested with Tex-Edit Plus, which takes the same make directive but honors the properties! ]
The above is illustrative of the thinking that this book provokes. Matt has a great blend of provoking thought, warning you of pitfalls, and constantly reminding you to experiement as you cannot read how to script a given application in a book, even this one!
I'm only half way through nowl, but am now engaged and feeling good about what I am learning. Matt has a conversational tone, as if you were in a small classroom and looking at one another - so its not another dull tome. He takes you to an amazing depth, slowly while building to it, and when you're done a chapter, and now understand some aspect of AppleScript, you may find yourself smiling that this has happened withour your hardly knowing it was happening.
I've been reading a few chapters each day, then playing around with Script Editor to lock in what I am learning. I have skimmed through the later chapters on occasion to find an answer, and I've always found one.
The only very minor complaint I have is that, for me, it would have been nice to have a small set of questions at end - like exercises - little tasks for the user to try to get them to stop reading and start coding. I find modifying existing example scripts is useful - others may prefer to make some exercises up for themselves.
That said, the buzz on Apple's list server has been extremely positive from a large group of users, some of whom have scripted for years. I personally have several other AppleScript books, and this one is head and shoulders above the rest. If you have any interest at all in using or even understanding AppleScript, you will find this book an invaluable companion. Its even an enjoyable read!
Media reviews "If you are a serious student or have grounding in other programming languages, it will be hard to find a better guidebook. Unlike Apple's own documentation, Neuburg provides an honest, unprejudiced appraisal of AppleScript's strengths and weaknesses and offers expert guidance in working with and around them...['AppleScript: The Definitive Guide' ] is unquestionably the most comprehensive and unbiased guide to the language ever written. Reading through it is a little like sitting in on a graduate course in AppleScript...if you're willing to sit down and expend the effort to follow the book through, you will be rewarded with the benefits of not only the author's years of programming experience, but his remarkable analytical and problem solving skills."
--Ric Getter, MacDirectory, Spring-Summer '04 (Issue 21)
https://www.macdirectory.com/newmd/mac/pages/REVIEWS/BookReviews-SU04/
"AppleScript is incomprehensible without a guide. REALbasic guru (and frequent RBD contributor) Matt Neuburg comes to the rescue...If you really want to understand the fundamentals or advanced features of the language (like how many 'tell' strucutures you can nest), this is the book for you."
--Marc Zeedar, Real Basic Developer Magazine, July 2004
"A complete and thorough guide...An essential resource for developers and power users."
--Major Keary, PC Update, July 2004
Read all reviews

![]() ©2009, O'Reilly Media, Inc. (707) 827-7000 / (800) 998-9938 All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners. |
About O'Reilly
Academic Solutions Authors Contacts Customer Service Jobs Newsletters O'Reilly Labs Press Room Privacy Policy RSS Feeds Terms of Service User Groups Writing for O'Reilly |
More O'Reilly Sites
O'Reilly Radar Ignite Tools of Change for Publishing Digital Media Inside iPhone O'Reilly FYI makezine.com craftzine.com hackszine.com perl.com xml.com Partner Sites InsideRIA java.net |
Content Archive Business Technology Computer Technology Microsoft Mobile Network Operating System Digital Photography Programming Software Web Web Design |