Instantly share code, notes, and snippets.
hei, it was super useful to find this!
There is one line though that potentially makes the code work a lot better, at least it now in 2018 on High Sierra.
The code seems to work with a much reduced risk of errors adding after line 63:
Hope it can help if anybody else finds this old gist while snooping around for the sparse JXA examples out there. :-) <3
Sorry, something went wrong.