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
Wicked Cool Shell Scripts, 2nd Edition
Useful and fun Linux, UNIX, and Mac OS X shell scripts.
book
Take Control of the Mac Command Line with Terminal, 3rd Edition
Learn how to unleash your inner Unix geek! Version 3.0.1, updated 03/21/2020 Release your inner geek …
book
Head First Go
What will you learn from this book? Go makes it easy to build software that’s simple, …
book
Data Science from Scratch, 2nd Edition
To really learn data science, you should not only master the tools—data science libraries, frameworks, modules, …