Synopses & Reviews
AppleScript is an English-like, easy-to-understand scripting language built into every Mac. AppleScript can automate hundreds of AppleScript-able applications, performing tasks both large and small, complex and simple.
Learn AppleScript: The Comprehensive Guide to Scripting and Automation on Mac OS X, Third Edition has been completely updated for Mac OS X Snow Leopard. It's all here, with an emphasis on practical information that will help you solve any automation problem?from the most mundane repetitive tasks to highly integrated workflows of complex systems.Friendly enough for beginners, detailed enough for advanced AppleScripters Includes major contributions from expert AppleScripters: Emmanuel Levy, Harald Monihart, Ian Piper, Shane Stanley, Barry Wainwright, Craig Williams, and foreword by AppleScript inventor, William Cook What you?ll learn See how AppleScript represents information as objects?including numbers, strings, lists, and records. Learn how to manipulate these objects using commands and operators, and how to store them in variables. Organize your code using handlers and script objects. Understand how applications describe their objects and commands in dictionaries and how to interpret that information when learning to script applications. Manipulate the Mac OS X file system. Automate iTunes, Mail, iCal, and other popular lifestyle applications in Mac OS X. Discover sophisticated text processing techniques using regular expressions. Script professional productivity applications?Apple iWork, Microsoft Office, FileMaker Pro, and Adobe InDesign. Harness the power of the Unix command line in Mac OS X. Create your own Cocoa applications with the new AppleScriptObjC bridge. Who this book is for
First-time scripters who want to automate tasks on their MacsExisting AppleScripters looking to develop proficient, professional, or guru-level knowledge and skillsProfessional Mac OS X developers wishing to understand this powerful and pervasive technology Table of Contents Introducing AppleScript AppleScript in Principle AppleScript in Practice Writing Scripts in AppleScript Editor Understanding How Application Scripting Works Learning to Work with AppleScript Objects Working with Text Working with Numbers Working with Dates Working with Lists and Records Storing Objects in Variables More on Commands More on Operators and Coercions Making Decisions Using Conditionals and Loops Making Decisions When Dealing with Errors Interacting with the User Working with Files Organizing Your Code with Handlers Organizing Your Code with Script Objects Scripting the File System Scripting Apple Applications Extending AppleScript with Scripting Additions AppleScript Amenities Scripting iWork and Office Scripting Data and Databases Scripting Adobe InDesign Interacting with the Unix Command Line Using Smile: The AppleScript Integrated Production Environment Tips and Techniques for Improving Your Scripts Creating Cocoa Applications with AppleScriptObjC
AppleScript is omniscient, easy to understand, and built into every Mac, and this book will show you how to unleash its full power so that you can take control of your Mac It is a high-level, natural-language, pervasive architecture custom built to control everything your Mac can do. As the language of automation for Mac OS X, AppleScript has complete access to the Finder's graphical user interface and controls interapplication communication with all AppleScript-able applications.
Learn AppleScript: The Comprehensive Guide to Scripting and Automation on Mac OS X is up to date for all that's new in Apple's latest release of the operating system, Snow Leopard. It starts off with a concise introduction to the world of AppleScript so that you can get your bearings, and then moves directly to how to use AppleScript. Along the way, you'll learn how to handle variables, loops, and commands.
We know that you'll be eager to get through the basics quickly so that you can start to get your feet wet with some higher-level concepts, such as debugging, AppleScripting, with databases, manipulating PDFs with SMILE, and automating media workflow. You could stop there, and you'd be a pretty good AppleScripter. But for serious AppleScripters, the wild world of AppleScript awaits. We'll teach you more advanced techniques, such as some best practices, manipulating the file system, and automating Unix/Linux applications.
It's all here, soup-to-nuts, with an emphasis on practical information that will help you solve any automation problem from the most mundane repetitive tasks to highly integrated workflows of complex systems. AppleScript was intended to be a Mac-like and friendly tool forEveryman, and this book provides a Mac-like and friendly approach to learning and mastering AppleScript for every man, women, and perhaps even child. Friendly enough for beginners, and detailed enough for advanced AppleScriptersComplete coverage of the AppleScript language and supporting AppleScript Studio toolsFully updated for Mac OS X 10.6 Snow LeopardLets you take control of your Mac and learn how to automate tasks
What you'll learn See how to script in general and how to be an AppleScripter specifically. Solve automation problems and find out which processes and applications are AppleScript-able. Use AppleEvents, the building blocks of AppleScript-ability. Build complex interapplication workflows as executable AppleScripts. Debug, troubleshoot, and optimize your scripts. Become a proficient, professional, or guru-level AppleScripter.
Who is this book for?
The audience for this book will be high-level power users who want to automate tasks on their Macs and make life easier for themselves, seasoned Mac scripters looking for an edge, beginning Mac scripters looking for the right start, and developers from other platforms and languages who want to start scripting on the Mac.
This third edition is updated to welcome a whole new generation of Mac users to AppleScript and how they can take control of their Mac. With more and more people choosing Macs, new demand and interest in Applescript is inevitable as people realize its power and usefulness. This new edition takes the new Apress Mac audience to Applescript.
AppleScript is easy to understand, ita (TM)s built into every Mac, and with this book you will learn how to unleash the full power of Applescript so that you can automate anything you do on your Mac
This is the third edition of our critically-acclaimed AppleScript book, and it has been completely updated to include all of the new features of Leopard and Snow Leopard, the latest releases of Mac OS X. It begins by giving you a concise introduction to The World of AppleScript so that you can get your bearings, and then moves directly to How to AppleScript. Youa (TM)ll learn how to handle variable, loops, and commands.