Script to convert CMYK color to PMS color
Hello All,
I have bunch of AI files that have thousands of objects with all different CMYK colors.
What I need to do is converting them into Pantone solid coated (PMS) colors.
I found a free script showing equivalent pantone color from the link blow.
10 Free and Extremely Useful Illustrator Scripts - Vectips
And trying to tweak to make the pantone color to be applied to the selected object.
In below script, I added line 178 and 179 like below.
| activeDocument.selection[0].fillColor.typename = "SpotColor"; | ||
| activeDocument.selection[0].fillColor.color = matchlist[0]; |
But it doesn't change the object's color.
Could you let me know how to do this?
I am not sure how to add script in this forum. Please download JS code from the link below.
https://www.dropbox.com/sh/qdxo1pi482h6yyx/AACeeo-ko6-ZPlzwfzpjZZQaa?dl=0
I am kind of new to scripting and wondering how to make this work.
If anyone can give me some advice, it would be great.
Thank you.
