Get the most reliable Cloud Servers. Click here to order.

Apple to start using JavaScript in its Yosemite version of OS X?

Click here to order the best deal on a HP enterprise dedicated server and at a great price.

Share on Twitter.

September 22, 2014

According to various reports, Apple has quietly started testing JavaScript as a potential task automator in its upcoming Yosemite version of its OS X operating system.

In a pre-release API document, Apple outlined JavaScript for Automation in OS X, and offered a few more details.

It's an OSA component that the document says “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”.

The JavaScript host environment adds properties for automation, application, Library, Path, Progress, ObjectSpecifier, delay, console.log, and a few others.

So far, Apple hasn't made that much noise about it, or any other statements for that matter about the API.

But it's still a big deal because it treats JavaScript as a “first class citizen” in the world of Apple.

In particular, the inclusion of an Objective-C bridge that lets JavaScript for Automation work with native OS X libraries like Cocoa is something of a novelty at Apple.

Source: Apple.

Get the most dependable SMTP service for your business. You wished you got it sooner!

Share on Twitter

Get the most dependable SMTP service for your business. You wished you got it sooner!

home | news archives | advertise with us | contact

Copyright © OS Today.   

All logos or service marks on this website are the property of their respective companies.