Hardware Reference
In-Depth Information
Figure 37: A portion of the AppleScript dictionary for Calendar.
Unfortunately, not all apps support AppleScript, and of those that do, some of them have
rather meager dictionaries (meaning you can't do very much with them). But there are
enough deeply scriptable apps out there to enable you to accomplish a great deal with
AppleScript.
I could fill many pages with examples of tasks an AppleScript could perform, but here are
just a few:
• Find and remove duplicate messages in Mail, events in Calendar, or records in
Contacts
• Combine multiple PDFs into a single file
• Apply proper title case to the names of all your tracks in iTunes
• Rotate, resize, or change the format of images
• Download all the MP3 files linked from a Web page
• Rename all the files in a folder with a different extension
• Count the number of email messages in a certain mailbox
I'll give even more examples as the chapter goes on.
Find and Run Example AppleScripts
Here are three simple scripts to try. To use one, copy and paste (or retype) it into AppleScript
Editor and click the Run button.
Search WWH ::




Custom Search