Beginning AppleScript (Programmer to Programmer)

  Author:    Stephen G. Kochan, Stephen G. Kochan
  ISBN:    0764574000
  Sales Rank:    311263
  Published:    2004-12-17
  Publisher:    Wrox
  # Pages:    600
  Binding:    Paperback
  Avg. Rating:    5.0 based on 5 reviews
  Used Offers:    14 from $4.99
  Amazon Price:    $30.81
  (Data above last updated:  2008-09-05 06:08:28 EST)
  
  
Sort customer reviews by:
  
Show All Reviews on Page      Hide All Reviews on Page
   
  
Beginning AppleScript (Programmer to Programmer)
  
What is this book about?

Geared toward programmers with no prior development knowledge, Beginning AppleScript serves as a comprehensive guide to using AppleScript on the Mac OS X platform.  This title introduces the reader to AppleScript, and then illustrates how to efficiently start writing scripts through sample programs as each concept is introduced. Exercises at the end of each chapter allow the reader to test and demonstrate their knowledge on how to write functional scripts. The appendices include a list of other resources for additional developer information, and a summary of the language suitable for reference.

                  Reader Reviews 1 - 8 of 8                 
  
  
Review
Date
Review
Rating(5 High)
Review
Helpful
to:
Customer Review Reviewer
Info
Permanent
Link
Reader Reviews Below Sorted by Newest First
03-09-08 5 2\2
(Hide Review...)  The best book out there for learning Applescript
Reviewer Permalink
AppleScript evolved from an 80's language called Hypertalk. AppleScript has always been the realm of only a few hardcore enthusiasts until Mac OS X came along, which made many computing solutions highly scriptable and boosted the popularity of Applescript. Of all the books I've seen on the language this is the best, especially if you're new to the language.

This book can be a bit of fun too, as it is not simply about business solutions. Instead the author shows you how to use AppleScript to make an iTunes player and create a DVD slideshow. The book teaches the language by a series of short examples, each o which demonstrates a particular programming concept - how to write a loop, how to get a list of files, etc. Each chapter ends with a series of exercises to reinforce what you've just learned with solutions in the back of the book. The following is a chapter-by-chapter run down of the book:

1. Writing Your First AppleScript Program - Covers the basics via a simple program that displays a dialog.
2. Variables, Classes, and Expressions - The nuts and bolts of writing simple AppleScript expressions.
3. Making Decisions - Deals with control flow and getting input from the user.
4. Program Looping - A guessing game program demonstrates the use of the "repeat" statement and its various forms.
5. Working with Strings - The basics of constructing, deconstructing, and inquiring about strings.
6. Working with Lists and Records - How to use the two fundamental data structures of AppleScript. Also discusses more complex structures built from these two fundamental data types.
7. Working with Files - Talks about opening, closing, and modifying files in the AppleScript language.
8. Handlers - Handlers are what you'd call functions or methods in other languages. You'll learn how to write them, how to pass and return variables, and proper form for handlers.
9. Error Handling - How to handle errors via event handling. Known as exception handling in other languages.
10. Working with Applications - Talks about the "tell" statement, which is how AppleScript communicates with application programs. This is a very important chapter, since the primary use of AppleScript is to communicate with other applications.
11. Scripting iLife Applications - A fun chapter. You write programs that interface with iPhoto, iTunes, and iDVD, three of the applications in the iLife suite.
12. Script Objects - You learn how to craft data types that are compatible with object-oriented programming concepts.
13. Loose Ends - Miscellaneous topics covered include web services, the Script Menu, GUI scripting, and recording scripts.
14. Introducing ApplesScript Studio - Learn to use AppleScript Studio to develop a fancy user interface with AppleScript as the underlying code.
Appendix A - Exercise Answers
Appendix B - Language Reference
Appendix C - Resources

Highly recommended for the beginning AppleScript programmer, but that doesn't mean you'll come away with from this book with just beginner's skills.
(Review Data Last Updated: 2008-09-05 06:11:37 EST)
04-13-07 4 3\4
(Hide Review...)  A competent, well-written, friendly textbook
Reviewer Permalink
I'm a tough grader, and four stars from me is doing very well! The bottom line is that this book is well organised, written clearly, and discusses a moderately difficult subject pleasantly and with competency.

The book fitted my background. I started programming in 1959, became proficient in FORTRAN by the mid 60's, added BASIC and LOGO when I bought my first computer a decade later, used HyperCard while it was being supported, dabbled in PASCAL, and learned too little C before retiring in 1996. When I bought this book, my last programming was ten years behind me, and modern computer languages weren't in my repertory at all.

I like a textbook approach -- clear exposition with plenty of examples, followed by problems to solve -- and Kochan provided just that. Often the examples preceded the exposition, and that worked fine, too. I prided myself on solving all the chapter-ending problems without looking at any of the solutions, and the book equipped me to do that, although a few problems in the later chapters took me a long time. Very occasionally I encountered typographical errors, but, almost always, what I had learned from the book allowed me to proceed. The point is not that there were typos here and there -- what technical manual is without them -- but that the book itself kept them from becoming an obstacle.

From the end of Chapter 4 I was able to begin using what I had learned, actually putting AppleScript to work. That provided motivation to go on and finish the book, which took three months, incidentally.

The book has an attractive layout and is blessed with an excellent table of contents, a comprehensive index, and a short list of other resources, all features of a well-written text, and all too often omitted.

Still, four stars, not five. Why? Had I bought the book when it was published in 2005, rather than in January of 2007, I might well have given five stars, but writing about current programming techniques, especially when referring to other programs -- essential in teaching AppleScript -- is aiming at a moving target, and as the author indicated would happen, the target had moved on. An example in Chapter 11 using iDVD that a 2005 reviewer praised doesn't work on the newer version of iDVD on my computer, and the gap was too big for me to bridge. Kochan warned that two web-service examples in Chapter 13 might not remain available, and one of them is gone now. Despite these glitches, both Chapter 11 and Chapter 13 are well worth reading and studying, but each has lost a useful example.

The book was unable to teach me the crontab feature in Chapter 13. I have not figured out whether a misprint, something outdated, or my own incompetence is responsible.

The publisher, Wiley, provides an errata list for the textbook on line and provides a place there to post questions; however, the site is also dated and did not help me. Most of the errata listed there came from me.

A principal purpose of AppleScript is to enable users to make more efficient use of other programs, such as Adobe PhotoShop and Apple iTunes, to name just two. This cannot be done in an elementary textbook, and Kochan illustrates what might be attempted without pretending to teach you to do it. On page 556 he cites "AppleScript, the Definitive Guide," by Matt Neuburg, saying: "This book explains many of the intricacies of the AppleScript language and is the recommended follow-up to the book you hold in your hands." I plan to find out. Neuburg's book, incidentally, wasn't suited to introduce me to AppleScript when I attempted to read it first.

The bits of outdated material listed above should not discourage you from buying and profiting from "Beginning AppleScript." I do not know a better place to start.
(Review Data Last Updated: 2007-09-07 22:19:41 EST)
04-13-07 4 4\5
(Hide Review...)  A competent, well-written, friendly textbook
Reviewer Permalink
I'm a tough grader, and four stars from me is doing very well! The bottom line is that this book is well organised, written clearly, and discusses a moderately difficult subject pleasantly and with competency.
The book fitted my background. I started programming in 1959, became proficient in FORTRAN by the mid 60's, added BASIC and LOGO when I bought my first computer a decade later, used HyperCard while it was being supported, dabbled in PASCAL, and learned too little C before retiring in 1996. When I bought this book, my last programming was ten years behind me, and modern computer languages weren't in my repertory at all.
I like a textbook approach -- clear exposition with plenty of examples, followed by problems to solve -- and Kochan provided just that. Often the examples preceded the exposition, and that worked fine, too. I prided myself on solving all the chapter-ending problems without looking at any of the solutions, and the book equipped me to do that, although a few problems in the later chapters took me a long time. Very occasionally I encountered typographical errors, but, almost always, what I had learned from the book allowed me to proceed. The point is not that there were typos here and there -- what technical manual is without them -- but that the book itself kept them from becoming an obstacle.
From the end of Chapter 4 I was able to begin using what I had learned, actually putting AppleScript to work. That provided motivation to go on and finish the book, which took three months, incidentally.
The book has an attractive layout and is blessed with an excellent table of contents, a comprehensive index, and a short list of other resources, all features of a well-written text, and all too often omitted.
Still, four stars, not five. Why? Had I bought the book when it was published in 2005, rather than in January of 2007, I might well have given five stars, but writing about current programming techniques, especially when referring to other programs -- essential in teaching AppleScript -- is aiming at a moving target, and as the author indicated would happen, the target had moved on. An example in Chapter 11 using iDVD that a 2005 reviewer praised doesn't work on the newer version of iDVD on my computer, and the gap was too big for me to bridge. Kochan warned that two web-service examples in Chapter 13 might not remain available, and one of them is gone now. Despite these glitches, both Chapter 11 and Chapter 13 are well worth reading and studying, but each has lost a useful example.
The book was unable to teach me the crontab feature in Chapter 13. I have not figured out whether a misprint, something outdated, or my own incompetence is responsible.
The publisher, Wiley, provides an errata list for the textbook on line and provides a place there to post questions; however, the site is also dated and did not help me. Most of the errata listed there came from me.
A principal purpose of AppleScript is to enable users to make more efficient use of other programs, such as Adobe PhotoShop and Apple iTunes, to name just two. This cannot be done in an elementary textbook, and Kochan illustrates what might be attempted without pretending to teach you to do it. On page 556 he cites "AppleScript, the Definitive Guide," by Matt Neuburg, saying: "This book explains many of the intricacies of the AppleScript language and is the recommended follow-up to the book you hold in your hands." I plan to find out. Neuburg's book, incidentally, wasn't suited to introduce me to AppleScript when I attempted to read it first.
The bits of outdated material listed above should not discourage you from buying and profiting from "Beginning AppleScript." I do not know a better place to start.
(Review Data Last Updated: 2008-01-28 10:46:45 EST)
04-12-07 4 6\7
(Hide Review...)  A competent, well-written, friendly textbook
Reviewer Permalink
I'm a tough grader, and four stars from me is doing very well! The bottom line is that this book is well organised, written clearly, and discusses a moderately difficult subject pleasantly and with competency.
The book fitted my background. I started programming in 1959, became proficient in FORTRAN by the mid 60's, added BASIC and LOGO when I bought my first computer a decade later, used HyperCard while it was being supported, dabbled in PASCAL, and learned too little C before retiring in 1996. When I bought this book, my last programming was ten years behind me, and modern computer languages weren't in my repertory at all.
I like a textbook approach -- clear exposition with plenty of examples, followed by problems to solve -- and Kochan provided just that. Often the examples preceded the exposition, and that worked fine, too. I prided myself on solving all the chapter-ending problems without looking at any of the solutions, and the book equipped me to do that, although a few problems in the later chapters took me a long time. Very occasionally I encountered typographical errors, but, almost always, what I had learned from the book allowed me to proceed. The point is not that there were typos here and there -- what technical manual is without them -- but that the book itself kept them from becoming an obstacle.
From the end of Chapter 4 I was able to begin using what I had learned, actually putting AppleScript to work. That provided motivation to go on and finish the book, which took three months, incidentally.
The book has an attractive layout and is blessed with an excellent table of contents, a comprehensive index, and a short list of other resources, all features of a well-written text, and all too often omitted.
Still, four stars, not five. Why? Had I bought the book when it was published in 2005, rather than in January of 2007, I might well have given five stars, but writing about current programming techniques, especially when referring to other programs -- essential in teaching AppleScript -- is aiming at a moving target, and as the author indicated would happen, the target had moved on. An example in Chapter 11 using iDVD that a 2005 reviewer praised doesn't work on the newer version of iDVD on my computer, and the gap was too big for me to bridge. Kochan warned that two web-service examples in Chapter 13 might not remain available, and one of them is gone now. Despite these glitches, both Chapter 11 and Chapter 13 are well worth reading and studying, but each has lost a useful example.
The book was unable to teach me the crontab feature in Chapter 13. I have not figured out whether a misprint, something outdated, or my own incompetence is responsible.
The publisher, Wiley, provides an errata list for the textbook on line and provides a place there to post questions; however, the site is also dated and did not help me. Most of the errata listed there came from me.
A principal purpose of AppleScript is to enable users to make more efficient use of other programs, such as Adobe PhotoShop and Apple iTunes, to name just two. This cannot be done in an elementary textbook, and Kochan illustrates what might be attempted without pretending to teach you to do it. On page 556 he cites "AppleScript, the Definitive Guide," by Matt Neuburg, saying: "This book explains many of the intricacies of the AppleScript language and is the recommended follow-up to the book you hold in your hands." I plan to find out. Neuburg's book, incidentally, wasn't suited to introduce me to AppleScript when I attempted to read it first.
The bits of outdated material listed above should not discourage you from buying and profiting from "Beginning AppleScript." I do not know a better place to start.
(Review Data Last Updated: 2008-03-10 23:05:10 EST)
01-30-05 5 12\16
(Hide Review...)  It's About Time, and It's a Good Book
Reviewer Permalink
It's interesting to see just how powerful AppleScript has become. Initially scripting languages were not well suited for general purpose programming because they lacked too many features and/or were too inefficient. Both of these constraints have gone away. Computers are so powerful, the inefficiency doesn't matter. And the languages have gotten enough features that in many cases AppleScript works just fine as a solution to a general programming problem.

It's about time for this book. Up until now the information about AppleScript has been thin. Now this tutorial has been published to explain the use of the language. I like Mr. Kochan's writing style. He starts off having you write a program. If you type it the way he says, the program has a bug in it. (Kind of like my programs.) That way, about the first thing you see is how AppleScript reports an error. With that out of the way, you can move on to learning the language.

It's quite a comprehensive book, talking about things like classes of variables, there's quite a bit on string manipulation. Of course all the usual things like logic, loops, files and so on. He saves the description of AppleScript Studio until the end of the book, that way you learn more about the language itself and are ready when Studio comes in to help make the task so much easier.
(Review Data Last Updated: 2007-05-19 20:06:48 EST)
01-29-05 5 12\16
(Hide Review...)  It's About Time, and It's a Good Book
Reviewer Permalink
It's interesting to see just how powerful AppleScript has become. Initially scripting languages were not well suited for general purpose programming because they lacked too many features and/or were too inefficient. Both of these constraints have gone away. Computers are so powerful, the inefficiency doesn't matter. And the languages have gotten enough features that in many cases AppleScript works just fine as a solution to a general programming problem.

It's about time for this book. Up until now the information about AppleScript has been thin. Now this tutorial has been published to explain the use of the language. I like Mr. Kochan's writing style. He starts off having you write a program. If you type it the way he says, the program has a bug in it. (Kind of like my programs.) That way, about the first thing you see is how AppleScript reports an error. With that out of the way, you can move on to learning the language.

It's quite a comprehensive book, talking about things like classes of variables, there's quite a bit on string manipulation. Of course all the usual things like logic, loops, files and so on. He saves the description of AppleScript Studio until the end of the book, that way you learn more about the language itself and are ready when Studio comes in to help make the task so much easier.
(Review Data Last Updated: 2007-03-19 10:22:45 EST)
01-10-05 4 8\9
(Hide Review...)  Good, up-to-date starting point
Reviewer Permalink
Frankly the pickings for Applescript books is pretty slim. To have a new book on the subject is a welcome surprise. I would have preferred that the book had more exposition in relation to the amount of code, but that's a small gripe with what is otherwise a well written book. The basics are covered from the syntax of the language and the tools, to file management and logging. Then the author discusses scripting the common iLife applications. This is where I appreciated the up-to-date information as the other book on Applescript from O'Reilly is badly in need of an update.

I would have preferred some additional information on Applescript Studio, as this is an exciting new development for Applescript. But that is also a minor grip.

A must buy for those interested in a starting point for scripting their OS X box.
(Review Data Last Updated: 2006-07-05 15:31:57 EST)
12-22-04 5 9\9
(Hide Review...)  Finally a book about AppleScript
Reviewer Permalink
Finally a book about AppleScript that's not just for professionals. This book is for all Mac users that want to have some fun and learn how to write AppleScript programs. Kochan uses tons of examples and shows how to do some fun things, like write a guessing game, or write a program that says "Good morning" (or whatever is appropriate for the time of day). His iLife chapter shows how to write iTunes programs, and how to do things like make a photo album or DVD from a folder full of photos. This book rocks!

- A Mac Hobbyist
(Review Data Last Updated: 2006-07-05 15:31:57 EST)
  
                  Reader Reviews 1 - 8 of 8                 
  
  
  
  
  
  

Because the data used to generate this site come from outside sources, VeryWellSaid.com cannot guarantee the completeness or accuracy of the data.
Search VeryWellSaid™
Google
Web VeryWellSaid™
New subjects are added every week.
View Subjects Below by:
* Top Selling
 (click category name, left)
* Top-Rated Top Sellers
 (click 'Top Rated', right)
In the news...  
Dubai\UAE Top Rated
Influenza\Bird Flu Top Rated
Iraq Top Rated
Supreme Court Top Rated
All Books Top Rated
Arts Top Rated
Photography Top Rated
Digital Photography Top Rated
Digital Cameras Top Rated
Biography Top Rated
Business Top Rated
Management Top Rated
Marketing Top Rated
Sales Top Rated
Stocks Top Rated
Bonds Top Rated
Real Estate Top Rated
Trading Top Rated
Commodities Trading Top Rated
Time Management Top Rated
Starting A Business Top Rated
Children's Top Rated
Comics Top Rated
Computers Top Rated
PC Top Rated
Mac Top Rated
Programming Top Rated
Design Patterns Top Rated
.Net Top Rated
C# Top Rated
Vb.Net Top Rated
Asp.Net Top Rated
Java Top Rated
Python Top Rated
PHP Top Rated
Perl Top Rated
Javascript Top Rated
Ajax Top Rated
CSS Top Rated
Open Source Top Rated
SQL Top Rated
Databases Top Rated
Oracle Top Rated
MySql Top Rated
Sql Server Top Rated
IIS Top Rated
Apache Top Rated
Linux Top Rated
Windows Server Top Rated
Project Management Top Rated
HTML Top Rated
UML Top Rated
IT Certifications Top Rated
Cisco Certifications Top Rated
MCSE Top Rated
MCSD Top Rated
Cooking Top Rated
Italian Cooking Top Rated
Vegetarian Cooking Top Rated
Wine Top Rated
Engineering Top Rated
Entertainment Top Rated
Health Top Rated
Nutrition Top Rated
Dieting Top Rated
Sex Top Rated
History Top Rated
Military History Top Rated
British History Top Rated
Middle East History Top Rated
Land Battles Top Rated
Naval Warfare Top Rated
Air Warfare Top Rated
9/11 Top Rated
Terrorism Top Rated
Home Top Rated
Mortgage\Home Equity Loan Top Rated
Cars Top Rated
Car Buying Top Rated
Sports Cars Top Rated
Cat Top Rated
Humor Top Rated
Horror Top Rated
Law Top Rated
IP Law Top Rated
Legal History Top Rated
Fiction Top Rated
Oprah's Book Club Top Rated
Medicine Top Rated
Cancer Top Rated
Stroke Top Rated
Heart Disease Top Rated
Fertility Top Rated
Diabetes Top Rated
Pharmacology Top Rated
Back Problems Top Rated
Menopause Top Rated
Thyroid Top Rated
Pain Top Rated
Organic Chemistry Top Rated
Immune System Top Rated
Mystery Top Rated
Nonfiction Top Rated
Outdoors Top Rated
Running Top Rated
Radio Control Models Top Rated
Guns Top Rated
Parenting Top Rated
Divorce Top Rated
Professional Top Rated
Reference Top Rated
Religion Top Rated
Romance Top Rated
Science Top Rated
Physics Top Rated
Chemistry Top Rated
Astronomy Top Rated
Psychology Top Rated
Science Fiction Top Rated
Sports Top Rated
Teens Top Rated
Travel Top Rated
USA Top Rated
Europe Top Rated
France Top Rated
Italy Top Rated
England Top Rated
China Top Rated
All Books Arts Biography Click Here For An A-Z Index Of All 213 Best-Seller Subjects Business Children's Comics
Computers Cooking Engineering Entertainment Health History Home Horror Humor Law Fiction Medicine Mystery
Nonfiction Outdoors Parenting Professional Reference Religion Romance Science Sci-Fi Sports Teens Travel
In Association with Amazon.com

Cache miss
(not cached)