This site aims to be the ultimate resource for Adobe Illustrator(c) scripting. Here you will find regularly updated collection of scripts for all your creative needs.
If you find yourself doing the same task again and again, or you have an idea how to optimise your  workflow – get in touch, and we will provide solution.

CMYK to Pantone

CMYKtoPMS.js

This script compares the color values ​​of the selected CMYK object with built-in list of PMS solid colors and return closest match(es).

Compare based on cumulative values ​​(C+M+Y+K), so PMS color with minimum color divergence is always selected. If the colors are also different, multiple matches will be displayed.

If no object is selected, or the wrong object type is selected, the user is prompted to enter the CMYK values ​​manually.