Skip to content

Pieces of JXA (Javascript for Automation) example code

License

Notifications You must be signed in to change notification settings

a-bangk/JXA-Examples

Repository files navigation

JXA Examples

A collection of Javascript for Automation (JXA) examples for reference and learning. All the code in this repository was run and tested on macOS 10.15.4 Catalina. You can see all code with examples that open directly in the macOS script editor at jxa-examples.akjems.com.

About

JXA is the Javascript implementation of AppleScript.

Naming

File names start with the App or library they are demonstrating. The exceptions are:

  • Investigate - scripts and features that do not work as expected
  • SA - Scripts demonstrating feature from Standard Additions library
  • Apple ref - copied from Apple's own guides.

Useful Places Online

There is no one reference source for JXA source online. I have had most luck with Stackoverflow. When an example is from stackoverflow a direct link is provided in the code.

From Apple

Other

About

Pieces of JXA (Javascript for Automation) example code

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published