Apple Mac AppleScript

From HaFrWiki
Jump to: navigation, search

AppleScript is a scripting language created by Apple [1]. It allows users to directly control scriptable Macintosh applications, as well as parts of Mac OS X itself. You can create scripts—sets of written instructions—to automate repetitive tasks, combine features from multiple scriptable applications, and create complex workflows.

A scriptable application is one that can be controlled by a script. For AppleScript, that means being responsive to interapplication messages, called Apple events, sent when a script command targets the application. (Apple events can also be sent directly from other applications and Mac OS X.)

AppleScript itself provides a very small number of commands, but it provides a framework into which you can plug many task-specific commands—those provided by scriptable applications and scriptable parts of Mac OS X.

Most script samples and script fragments in this guide use scriptable features of the Finder application, scriptable parts of Mac OS X, or scriptable applications distributed with Mac OS X, such as TextEdit (located in /Applications).


See also

top

References

top

  1. Developer Apple, Overview and Navigation. Mac OS X Developer Library, This developer library is your bookshelf for detailed information essential to Mac OS X application development.