I recently released MacroBackerUpper, which creates Time-Machine-like backups of one's macro library. But it works through a brute force method—it exports everything, does its analysis, then replaces identical files with hard links.
Just after releasing it, I stumbled across this forum thread: Getting Timestamp of Most Recently Modified Macro ... and something like the JXA scripts in that discussion would be very useful to me, as I could then only export (assuming I could figure out how to do that) macro groups that were modified since the last run.
Macro name and UUID
Associated macro group name and UUID
Also, where do you learn what things are available within JXA? I tried "groups" in place of "macros" in the above-linked script, but that fails. But I can't find a list of accessible objects anywhere—so how do you know what can and can't be used?
thanks for putting up with my stupid questions;
I know just enough in a handful of them (python, perl, shell, AppleScript) to do what I want to do, most of the time. But the last time I wrote any "real" code it was in COBOL, way too many years ago :).