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

find same pantone color

$
0
0

Hi

Any one plz help me to find same pantone colors in selected object

 

here is my code

 

doc = app.activeDocument;

if (app.documents.length>0)

doc.selectObjectsOnActiveArtboard();

selectList = doc.selection;

cou = selectList.length;

if(cou>0)

{

    for(i=0;i<cou;i++)

    {

if(selectList[i].fillColor=="[SpotColor]")

txt=selectList[i].fillColor.spot.name;

}

}

 

i want to find the pantone name present in txt variable with other selected list

 

plz help me

 

 

Thank you


Viewing all articles
Browse latest Browse all 12845

Trending Articles



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