Publishers of technology books, eBooks, and videos for creative people

Home > Articles > Web Design & Development > PHP/MySQL/Scripting

  • Print
  • + Share This
Like this article? We recommend

The AppleScript Language

Apple wants you to interact with their programs. To this end, it has exposed the following list of products that can be directly scripted with AppleScript:

  • Address Book
  • AppleWorks
  • ColorSync
  • DVD Player
  • Finder
  • iCal
  • iDVD
  • Image Capture
  • Internet Connection
  • iPhoto
  • iTunes
  • Keychain
  • Mail
  • Print Center
  • QuickTime Player
  • Safari
  • Script Editor
  • Speech
  • System Events
  • Terminal
  • TextEditor
  • Toolbar Scripts
  • URL Access
  • GUI Scripting
  • BlueTooth
  • iPod

This list can be extended with third-party products that support AppleScript.

In addition to directly being able to script against solutions, Apple has also enabled AppleScript to communicate with higher-level languages such as Xcode and Java, other scripting languages (such as Perl) and Web Services. The possibilities this now provides are immense.

AppleScript's core is the ability to interface with a tool and manipulate exposed properties and methods of that tool. In the following example, you will write a simple script that interfaces with the Image Capture tool.

  • + Share This
  • 🔖 Save To Your Account