Book Cover
E-book
Author Kochan, Stephen G.

Title Beginning Applescript / Stephen G. Kochan
Published Indianapolis, Ind. : Wiley Pub., ©2005

Copies

Description 1 online resource (xxiv, 574 pages) : illustrations
Series Wrox beginning guides
Wrox beginning guides.
Contents Beginning AppleScript; About the Author; Contents; Acknowledgments; Introduction; Who This Book Is For; How This Book Is Structured; What You Need to Use This Book; Conventions; Source Code; Errata; p2p. wrox. com; Chapter 1: Writing Your First AppleScript Program; Starting with Script Editor; Compiling and Running Your Program; Extending Your First Program; An AppleScript Command to Display a Dialog; Understanding the Buttons Parameter in the display dialog Command; Multiple AppleScript Commands; Adding Comments to Your Programs; Summary; Exercises
Chapter 2: Variables, Classes, and ExpressionsWorking with Variables; More on Commands and Statements; Basic Data Type Classes; Basic Data Type Conversions; Arithmetic Operators and Expressions; The Date Class; Summary; Exercises; Chapter 3: Making Decisions; The if Statement; AppleScript's Relational Operators; The if-else Statement; Nested if Statements; The if-else if Statement; Compound Relational Tests; Creating Your First Application; Catching Errors with the try Statement; Summary; Exercises; Chapter 4: Program Looping; The repeat ... times Statement; The repeat with Statement
The repeat while StatementUsing Flags; The repeat until Statement; The repeat with Statement for Lists; Setting Up an Infinite Loop with repeat; Summary; Exercises; Chapter 5: 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; Chapter 6: Working with Lists and Records; Working with Lists; Working with Records
The try ... on error StatementThe error Command; Summary; Exercises; Chapter 10: Working with Applications; Talking to Other Applications: The tell Statement; More on Working with the Finder; More on Working with Applications; Applets and Droplets; Summary; Exercises; Chapter 11: Scripting iLife Applications; Scripting iTunes; Scripting iPhoto; Scripting iDVD; Summary; Exercises; Chapter 12: Script Objects; Defining a Script Object; Script Properties; Your Program Is a Script Object; Script Objects Containing Handlers; Handlers Containing Script Objects
Summary Exercises; Chapter 7: Working with Files; Path Names: Traditional Mac and POSIX-style; What's in a Name?; The file Class; File Name Aliases; Reading and Writing Files; Enumerating Disks and Folders; Summary; Exercises; Chapter 8: Handlers; Writing a Handler; Passing Parameters to Handlers; Returning Handler Results; Argument Types; Local Variables; Call by Value; Recursive Handlers; Local/Global Variables and Variable Scope; Saving and Loading Handlers; Labeled Parameters; Specifying Patterns for Parameters; Summary; Exercises; Chapter 9: Error Handling; Beeps and Dialogs
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 summa
Bibliography Includes bibliographical references and index
Notes Print version record
Subject AppleScript (Computer program language)
COMPUTERS -- Programming Languages -- C♯
COMPUTERS -- Programming Languages -- Java.
COMPUTERS -- Programming Languages -- Pascal.
AppleScript (Computer program language)
Form Electronic book
ISBN 0764584936
9780764584930