Book description
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.
Table of contents
- Copyright
- About the Author
- Credits
- Dedication
- Acknowledgments
- Introduction
- Writing Your First AppleScript Program
- Variables, Classes, and Expressions
- Making Decisions
- Program Looping
-
Working with Strings
- Strings, Text, and Unicode Text
- Review of Concatenation
- Getting the Size of a String
- Using Special String Characters
- The considering and ignoring Statements
- Words, Characters, and Paragraphs
- Locating Strings inside Strings
- More on the Count Command
- Enhancing the Alarm Clock Program
- Summary
- Exercises
- Working with Lists and Records
- Working with Files
- Handlers
- Error Handling
- Working with Applications
- Scripting iLife Applications
- Script Objects
-
Loose Ends
- Command Handlers
- Using terms from
- Using the clipboard
- The Script Menu
- Folder Actions
- Open Scripting Architecture
- Scripting Additions
- AppleEvents
- Recording Scripts
- GUI Scripting
- Before and After
- Creating a Reference to an Object
- Web Services: XML-RPC and SOAP
- Running Scripts from Terminal
- The do shell script Command
- The with transaction Statement
- Delayed Evaluation with the run script Command
- Scheduling Scripts to Run with the cron
- Summary
- Exercises
- Introducing AppleScript Studio
- Exercise Answers
- Language Reference
- Resources
- Index
Product information
- Title: Beginning AppleScript®
- Author(s):
- Release date: December 2004
- Publisher(s): Wrox
- ISBN: 9780764574009
You might also like
book
Take Control of Your M-Series Mac
Make a smooth transition to Apple silicon Version 1.4, updated June 29, 2022 This book teaches …
book
Apple® Automator with AppleScript® Bible
One-stop reference helps you get the most out of AppleScript and Automator One of the handiest …
book
AppleScript: The Missing Manual
From newspapers to NASA, Mac users around the world use AppleScript to automate their daily computing …
book
Take Control of Shortcuts, 2nd Edition
Automate your iPhone, iPad, or Mac! Version 2.1, updated January 30, 2023 Automation is no longer …