An open API service indexing awesome lists of open source software.

https://github.com/vvscode/awesome-jxa

Curated list of materials about JXA (JS for automation)
https://github.com/vvscode/awesome-jxa

List: awesome-jxa

applescript automation curated-list javascript-for-automation jxa macosautomation osa2 osascript

Last synced: 19 days ago
JSON representation

Curated list of materials about JXA (JS for automation)

Awesome Lists containing this project

README

        

# Awesome JXA

## Documentation

- [Introduction to JavaScript for Automation](https://developer.apple.com/library/archive/releasenotes/InterapplicationCommunication/RN-JavaScriptForAutomation/Articles/Introduction.html)
- [Mac Automation Scripting Guide](https://developer.apple.com/library/archive/documentation/LanguagesUtilities/Conceptual/MacAutomationScriptingGuide/index.html#//apple_ref/doc/uid/TP40016239-CH56-SW1)
- [JXA Resources at Apple-Dev Groups](https://apple-dev.groups.io/g/jxa/wiki/3202)
- [JavaScript for Automation Cookbook](https://github.com/JXA-Cookbook/JXA-Cookbook)
- [Scripting with JXA](https://bru6.de/jxa/)
- [Using JXA with Keyboard Maestro](https://wiki.keyboardmaestro.com/JavaScript_for_Automation)
- [JXA Examples](https://jxa-examples.akjems.com/) - A collection of Javascript for Automation (JXA) examples for reference and learning
- [Calendar Scripting Guide](https://developer.apple.com/library/archive/documentation/AppleApplications/Conceptual/CalendarScriptingGuide/) at Apple Documentation Archive

## Node.js helpers

- [JXA](https://github.com/JXA-userland/JXA) - JavaScript for Automation(JXA) packages (including TS types for modules and set of satellite packages to build/run), example is included
- [osa2](https://github.com/wtfaremyinitials/osa2) - This module provides a Promise interface to macOS's automation and scripting APIs
- [jxa](https://github.com/wtfaremyinitials/jxa) - Similar to the osa2 module, but with synchronous calls and an API with a bit more 'magic'. If you're building a library, use osa2. This module is best suited for small scripts
- [node-jxa](https://github.com/johnelm/node-jxa) - Use your favorite node.js modules, or your own local modules, in your JXA (OSX Javascript automation) scripts
- [jxapp](https://github.com/dtinth/jxapp) - Quickly access JavaScript for Automation's application object
- [JXA packages at npm.io](https://npm.io/search/keyword:jxa)

## Community

- [Keyboard Maestro Forum](https://forum.keyboardmaestro.com/latest)
- [Scripting OS X blog](https://scriptingosx.com/)
- [MacScripter.net board](https://www.macscripter.net/)

## Articles

- [Automating Chrome with JXA](https://stevebarbera.medium.com/automating-chrome-with-jxa-javascript-application-scripting-6f9bc433216a)
- [A Beginners Guide to JXA, JavaScript Application Scripting](https://computers.tutsplus.com/a-beginners-guide-to-javascript-application-scripting-jxa--cms-27171t)
- [Scripting macOS with Javascript Automation](https://mikebian.co/scripting-macos-with-javascript-automation/)
- [Javascript for Automation in macOS](https://hackernoon.com/javascript-for-automation-in-macos-3b499da40da1)
- [Automation for OS X: the JavaScript way](https://hackmag.com/coding/getting-to-grips-with-javascript-automation-for-os-x/)
- [Use JavaScript to Automate stuff on macOS](https://hiraash.medium.com/use-javascript-to-automate-stuff-on-macos-f1cdbb890f18)

## Worth to mention

- [JXA Resources](https://gist.github.com/JMichaelTX/d29adaa18088572ce6d4) by @JMichaelTX
- [Learning & Using AppleScript & JavaScript for Automation (JXA)](https://forum.keyboardmaestro.com/t/learning-using-applescript-javascript-for-automation-jxa/1545) by @JMichaelTX
- [Comparing JavaScript for Automation (JXA) and AppleScript](https://forum.keyboardmaestro.com/t/comparing-javascript-for-automation-jxa-and-applescript/19559)
- [Automating macOS with Javascript for Automation (JXA)](https://github.com/josh-/automating-macOS-with-JXA-presentation/tree/master) presentation by @josh-
- [The macOS Automation Sites](https://macosxautomation.com/index.html)
- [Notes on automating macOS using Javascript](https://gist.github.com/heckj/5b7bb332463a762639e179a37ea3a216) by @heckj
- [Aquitaine Programming](https://www.amazon.com/dp/B0CW17TQCZ) - set of 3 books: "Javascript of Automation: Crafting Scripts for macOS", "JavaScript for Automation 2: Supercharge Your Mac with ChatGPT", "JavaScript for Automation 3: More Useful and Interesting Scripts"