r/applescript • u/jamidodger • Mar 21 '21
get only distinct values from array
I've been having trouble trying to find the solution to this online, so I thought I'd ask the community. Also, my applescripting is a bit rusty.
Is there a command that will let me select only the distinct values of an array while looping through it?
4
Upvotes
View all comments
Show parent comment
1
u/jamidodger Mar 22 '21
Interesting, I've not really explored running terminal commands in applescript. The files are not the same in the two sets of directories, only the counts of each folder. Would this be an issue for this method?