Cargando…

Beginning Applescript /

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; Retu...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Kochan, Stephen G.
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Indianapolis, Ind. : Wiley Pub., ©2005.
Colección:Wrox beginning guides.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)
Tabla de Contenidos:
  • 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