Skip to main content
August 28, 2008
Question

WIN JS CS2 Covert Spot Colours To Process

  • August 28, 2008
  • 2 replies
  • 287 views
Hi all,

Any idea why this doesn't work?

app.activeDocument.inks.everyItem().convertToProcess = true;

I need to convert all spot inks in my swatches to process

Thanks heaps
Regards
Norbert
This topic has been closed for replies.

2 replies

August 29, 2008
Thanks Peter,

Sincerely!!!
Norbert
Peter Kahrel
Community Expert
Community Expert
August 29, 2008
Norbert,

>Any idea why this doesn't work?

You're looking in the wrong place. Change colours, so to speak, not inks: myColor.model = ColorModel.process

You can't use everyItem() because some colours can't be changed, so you need to iterate through the colours and try to change each instance:

c = app.activeDocument.colors;

for (i = 0; i < c.length; i++)
{
try {c.model = ColorModel.process}
catch (_){}
}


Peter