



In OS X 10.10, JavaScript became a peer to AppleScript in OS X. However, some apps implement JavaScript-based scripting models for the purpose of automation. Historically, it’s been most commonly used to implement features on websites and in web-based apps that are accessed through browsers. JavaScript is a popular cross-platform scripting language. The core fundamentals of AppleScript are described in AppleScript Language Guide, as well as in numerous third-party books. While the AppleScript scripting language uses an English-like terminology which may appear simple, it is a rich, object-oriented language, capable of performing complicated programming tasks. It’s relatively easy to learn in relation to other scripting and programming languages, has been around since System 7.1, and has been widely adopted in both enterprise and personal workflows. Python and Perl are other examples of scripting languages.ĪppleScript is a mature scripting language developed by Apple. Scripting is a better choice for performing advanced, branching, or complex tasks. Automator is great for performing simple tasks involving a small number of sequential steps or apps. Because Automator uses preconceived actions and operates in a linear manner, it’s more limited in functionality than scripting. Automator doesn’t require you to write any code, but can be extended through scripting. OS X also includes Automator, an app for building workflows that run prebuilt, configurable actions to perform tasks in apps and throughout the operating system.
