Skip to main content
4 of 7
added 6 characters in body
calum_b
  • 6k
  • 30
  • 37

Since Yosemite, OSX/macOS also supports JavaScript as an inter-process scripting language--officially known as JavaScript for Automation, also referred to as JXA. The documentation (and some would say, the implementation) is somewhat lacking compared to AppleScript, but if you're already more familiar with JavaScript than AppleScript, then it might be an option.

Like AppleScript, JXA also offers an ObjC bridge allowing you to use Cocoa APIs in your JavaScript.

Of course, with JavaScript you can use any code editor you like, though Script Editor and indeed Automator offer some debugging options that 3rd party editors probably won't give you.

Official resources:

Some unofficial resources:

calum_b
  • 6k
  • 30
  • 37