Get Started Using JavaScript For Automation In Yosemite

Get Started Using JavaScript For Automation In Yosemite
Facebook may have decided that you shouldn’t see the news, but we think you deserve to be in the know with Lifehacker Australia’s content. To sign up for our daily newsletter covering the latest news, hacks and reviews, head HERE. For a running feed of all our stories, follow us on Twitter HERE. Or you can bookmark the Lifehacker Australia homepage to visit whenever you need a fix.

One of the lesser known little features in OS X Yosemite is the new ability to use JavaScript for automating tasks with AppleScript. This is an awesome way to extend your AppleScript automation, but it’s not super-easy to learn. MacStories has a starter guide to get you going.

The MacStories guide shows you the basics of using JavaScript with AppleScript, then walks your through the process of creating an AppleScript to automatically play a playlist in iTunes. You’ll be better off with a little knowledge of JavaScript here, but MacStories’ guide is enough to at least get you started.

Getting Started with JavaScript for Automation on Yosemite [MacStories]