As a structured command language, AppleScript can be compared to Unix shells, the Microsoft Windows Script Host, or IBM REXX in its purpose, but it is distinct from all three.
Mainly, however, AppleScript relies on the functionality of applications and processes to handle complex tasks. AppleScript can do basic calculations and text processing, and is extensible, allowing the use of scripting additions that add new functions to the language. Apple events are designed to exchange data between and control other applications in order to automate repetitive tasks.ĪppleScript has some processing abilities of its own, in addition to sending and receiving Apple events to applications. AppleScript is related to, but different from, Apple events. AppleScript is primarily a scripting language developed by Apple to do inter-application communication (IAC) using Apple events.