Cookbook for JavaScript for Automation in Mac OS X Yosemite
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
scripts Halt when TOCBOT updated the wiki Oct 28, 2014
.gitignore Add scripts to manage table of contents. Oct 28, 2014 Update Nov 2, 2014

JavaScript for Automation Cookbook

JavaScript for Automation is a new thing in Mac OS X Yosemite. It allows you to control applications using JavaScript language. How awesome!

However, its documentation covers the basics of using JavaScript to interact with the Open Scripting Architecture. For many tasks in scripting, there's a lot to figure out, and many different documentations to refer to.

So I created this JavaScript for Automation cookbook that features a lot of examples, such as:

Where it makes sense, I try to link to the official documentation as much as possible so you can dive deeper.

For ease of editing and contribution, the cookbook's contents are on the wiki.

Enter Wiki