Skip to main content
tpk1982
Legend
April 13, 2017
Question

RGB to CMYK, SPOT to PROCESS

  • April 13, 2017
  • 1 reply
  • 915 views

Hi All,

After a while I need a script in Illustrator.

I need to change all RGB to CMYK and Spot to process. All the converted colors need to flag in a text file.  It is easy in Indesign, little tedious in Illustrator. Because it have path item, page item, compound item.. so variations. And can directly change in swatch palette I hope.

Am little struck how to start. But found the below link which is useful to start.

Color conversion script?

Re: How to change SPOT Color to Process CMYK by disabling GLOBAL Option?

If anyone suggest how to proceed with little code then it would be great.

Regards,

K

This topic has been closed for replies.

1 reply

Silly-V
Legend
April 13, 2017

You can change the swatch in palette, by changing all of the properties of a spotColor which is the .color property of the swatch object.

However, if you are changing "all RGB to CMYK" and are dealing with process colors to begin with, your action is simply to execute the menu command "doc-color-cmyk" which will turn all the RGB process swatches to CMYK. If you are changing internal color of a spot swatch, then that's allowed (I believe) without converting entire document.

tpk1982
tpk1982Author
Legend
April 14, 2017

Thanks Silly-V

I will try and let you know