find same pantone color


hi

any 1 plz me find same pantone colors in selected object

 

here 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 find pantone name present in txt variable other selected list

 

plz me

 

 

thank you

based upon code posted , description provided, unclear you're hoping accomplish?

can try explain in more detail you're having trouble with?



More discussions in Illustrator Scripting


adobe

Comments

Popular posts from this blog

Thread: gpg: Conflicting Commands

Adobe Acrobat Pro , Terminal Server Use

when i try using AE CC 3d camera tracker after the first step it says "Analysis solve failed." help?