Quantcast
Channel: Adobe Community : Popular Discussions - Illustrator Scripting
Viewing all articles
Browse latest Browse all 12845

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

$
0
0

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[j].color=="[SpotColor]" && myDoc.swatches[j].name!="[Registration]"){
        alert(myDoc.swatches[j].name);
        myDoc.swatches[j].color.spot.colorType=ColorModel.PROCESS;
        }
    }

 

 

thx,

csm_phil


Viewing all articles
Browse latest Browse all 12845

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>