As you may be aware, KM macros can call/use scripts like AppleScript and JXA (and others).
In another topic, we had a sub-topic (read off-topic) discussion about how to learn AppleScript, and then JXA.
TLDR: Quick Start to Learning AppleScript
If you are new to AppleScript and are interested in learning more, then I'd suggest you take a look at:
- AppleScript: Beginner's Tutorial
Script Debugger 7 -- a full IDE for developing AppleScript.
SD7 now comes with a 20-day free trial, and then will gracefully downgrade to the FREE SD7 Lite (which is still much better than Script Editor).
You can get lots of AppleScript help here in this forum, and in the Script Debugger Forum.
Quick Start to learning JXA
Worthwhile Reading Below
There is much discussion below that you will benefit from.
First, let me point you to the post in the other topic where we began the "Learning..." discussion:
What follows is some great discussion by Chris (ccstone) and ComplexPoint.
All well worth reading.
I think I agree with him.
For those of you who might be interested in JXA, you may want to take a look at this article I just read, and found very helpful and interesting:
I think this article can definitely save you a lot of time in getting started with JXA, as well as help you determine if you want to go that route.
Please post here if you have any suggestions, or questions, about learning JXA or AppleScript.