-
Notifications
You must be signed in to change notification settings - Fork 117
Home
Pat Gilmour edited this page Jan 26, 2022
·
68 revisions
· · · · · · · · · · · · · · ·
start reading →
JavaScript for Automation is a new feature in OS X Yosemite. It lets you control applications and the operating system using JavaScript language.
- Foreword
- Conventions Used in This Cookbook
- Using JavaScript for Automation
- ES6 Features in JXA
- Important: Getting the Application Instance
- User Interactions
- User Interaction with Files and Folders
- Using Objective C (ObjC) with JXA
- Shell and CLI Interactions
- Importing Scripts from Other Files
- Application-Specific Recipes
- Examples
- Related Resources
- Getting Started with JavaScript for Automation on Yosemite by Alex Guyot — basic guide to automating OS X in two ways: calling methods from AppleScript dictionary, UI automations.
- Building OS X Apps with JavaScript by Tyler Gaw — this tutorial guides you to create a Mac OS X application using the Objective-C bridge.
- JXA Resources by JMichaelTX — A fairly comprehensive list of JXA resources.
· · · · · · · · · · · · · · ·
start reading →
- Foreword
- Conventions Used in This Cookbook
- Using JavaScript for Automation
- ES6 Features in JXA
- Getting the Application Instance
- User Interactions
- User Interaction with Files and Folders
- Using Objective-C (ObjC) with JXA
- Shell and CLI Interactions
- Importing Scripts
- iTunes
- Keynote
- Messages
- System Events
- Safari & Chrome
- Script Editor
- XML
- Examples