Skip to main content
csm_phil
Legend
Mar 31, 2011 10:39 AM UTC
Question

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

Hi Scripters,

i have very big problem to change the SPOT COLOR TO PROCESS CYMK  its working and changing fine but since the "GLOBAL" options is enabled, its not converting the spot into exact cmyk process color.

Here is my js code:

var myDoc = app.activeDocument;
for(j=0; j<myDoc.swatches.length; j++){
    if(myDoc.swatches.color=="[SpotColor]" && myDoc.swatches.name!="[Registration]"){
        alert(myDoc.swatches.name);
        myDoc.swatches.color.spot.colorType=ColorModel.PROCESS;
        }
    }

thx,

csm_phil

This topic is closed to new replies. Start a new post to keep the conversation going.

11 replies

Muppet_Mark-QAl63s
Inspiring
Mar 31, 2011 2:01 PM UTC

Phil, this is off the top of my head… but editing spots in the swatches panel breaks all association with the applied art… They will change but the art will not be mapped to this…

Translate
csm_phil
csm_philAuthor
Legend
Apr 1, 2011 5:28 AM UTC

Hi Mark,

Thanx for your reply, however my art does not have any linked images, it just consist of normal rectangular frames with SPOT FIll color.

My requirement is to convert every Spot Colors into CMYK Color in the document swatches.

My above script does this action, but as the "GLOBAL" options cannot be disabled it is retained/changed as Spot CMYK color.

thx,

csm_phil

Translate
Muppet_Mark-QAl63s
Inspiring
Apr 1, 2011 11:57 AM UTC

Phil, Im not taking about colored links to images… I will have to check but Im fairly sure that when you change a swatches type from spot to process it just breaks it. No colored art is changed, pathItems the lot…

Translate