JavaScript for Automation Release Notes
The JavaScript OSA component implements JavaScript for Automation. The component can be used from Script Editor, the global Script Menu, in the Run JavaScript Automator Action, applets/droplets, the osascript command-line tool, the NSUserScriptTask API, and everywhere else other OSA components, such as AppleScript, can be used. This includes Mail Rules, Folder Actions, Address Book Plugins, Calendar Alarms, and Message Triggers.
The announcement of JavaScript for Automation got a bit lost in all the even more important news from WWDC, but it’s certainly good news for anyone doing Mac scripting. AppleScript’s English-like syntax is notoriously unpleasant to work with, but since the demise of Userland Frontier years ago there haven’t been any real alternatives. Now it looks like we’ll finally get one.
Leave a Reply