El Finder es el corazón del Mac OS. Ayudado por los AppleScripts, además puede ser un asistente muy poderoso, sustituyendo aburridas tareas por un simple click del ratón o presionando el teclado. Ben Waldie ha publicado un e-book llamado “AppleScripting the Finder”, que nos ayudará a poner a trabajar nuestro Mac y ganar tiempo con sus técnicas de AppleScript.
CONTENIDOS
Chapter 1: Introduction
Goals of this Book
AppleScript
Scriptable Applications
What You Need to Get Started
Chapter 2: Finder Scripting Overview
What is Finder Scripting?
Benefits of Finder Scripting
Why Finder Scripting is Necessary
What Can You Do with Finder Scripting?
Chapter 3: Recording Scripts in the Finder
Getting Started with Recording
Benefits of Recording
Limitations of Recording
Improving Recorded Scripts
Chapter 4: Finder Dictionary
Introduction to Application Dictionaries
Accessing the Finder Dictionary
Navigating the Finder Dictionary
Classes, Objects , Properties, and Commands
Finder Object Model
Chapter 5: Working with the Finder Application
Application Object
Finder Application Properties
Finder Application Commands
Chapter 6: Referring to Objects
Object References
AppleScript Paths
POSIX Paths
Chapter 7: Working with Processes
About Processes
Types of Process Objects
Process Properties
Interacting with Processes
Chapter 8: Working with Items
Item Object Types
Item Properties
Item Commands
Shared Commands
Chapter 9: Working with Containers
Types of Container Objects
Container Object Properties
Interacting with Container Objects
Chapter 10: Working with Files
Types of File Objects
File Object Properties
Interacting with File Objects
Chapter 11: Working with Windows
Types of Window Objects
Window Object Properties
Interacting with Window Objects
Chapter 12: Putting It All Together
Example Script 1 – Archiving Files
Example Script 2 – Copying Selected Paths to the Clipboard
Example Script 3 – Listing Folder Contents
Example Script 4 – Switching Window Views
Example Script 5 – File Type/Creator Type Assignment
Example Script 6 – Locking and Unlocking Finder Items
Example Script 7 – Ejecting Disks
Chapter 13: In Conclusion
Finder Scripting Resources
Fuente: Spiderwork