Current Scripting language for MacOS

For a while, AppleScript was the choice language for scripting in MacOS. Has that shifted to JavaScript (which seems more flexible)? I need to do some scripts for repetitive tasks but don’t want to spend time learning something that is being discontinued, as it appears AppleScript is.
Thanks.

To some degree, the answer depends on what sort of scripting you’re doing. For some tasks AppleScript is still the best choice, and I still write plenty of shell scripts (as I’ve been doing since the '80s), python scripts, etc.

But if you’re specifically wondering about scripting Omni apps, then yes, JavaScript is your best choice, giving you fast and direct access to each app’s object model and plug-in system across platforms (macOS, iOS, iPadOS, and visionOS).

You can learn more on the Omni Automation website: https://omni-automation.com/

Or if you prefer videos, try Omni Automation Vids:

Enjoy!

1 Like