In preparation to replace scripting additions like satimage and list and record tools I’ve been searching for a script library to perform the same functions—
but most of all excluding duplicates.
Before I set out to write a new library from scratch, maybe there is one out there. I looked here, macscripters, and github.
Through ASObjC you can use Foundation’s
NSMutableSet to accomplish this. Check out
Looks good. Thank you. I also see a variation that preserves order, though so far the NSMutableSet seems to be keeping things in order.
H Has also released a script library called “List” that does most of that.
Don’t rely on it — use
NSMutableOrderedSet if order matters.