Combine Swatches with same value, different name
I come across indds that predominantly contain swatches that are named differently but are the same exact color, value-wise, i.e. their C=n, M=n, Y=n, K=n, are the exact same.
I’m looking for a script that will recognize swatches with identical values, i.e. identical CMYK values, and do away with duplicate swatches that share the same values and leave only one swatch, with the name as “Name with Color Value (screenshot below).”
So in the end, there is only one instance of a specific color, and it’s name as CMYK, etc.
Any help, as always, is very much appreciated.
Thanks.
Name with Color Value.


