Clipping Path info


hello guys,

 

again coming need now.

 

i need automation or plugin or script spotting error on photoshop paths.

 

i tried photoshop scripts, searched options in indesign , other softwares pdf preflights. couldn't find idea.

 

i working lots of images more or less 100 images day. want infos of clipping paths created in photoshop path name, clipping flatness , open paths if any, details in log file or log display window. not issue whether works inside photoshop or outside automation along other softwares. need spot open path , clipping path name exactly.

 

need help!!!

 

thank in advance!

 

regards,

purushoth...

function clippingpathindex(){// returns -1 if no clipping path   var ref = new actionreference();   ref.putenumerated( charidtotypeid("dcmn"), charidtotypeid("ordn"), charidtotypeid("trgt") );    var desc = executeactionget(ref);   return desc.getobjectvalue(stringidtotypeid('clippingpathinfo')).getinteger(stringidtotypeid('clippingpathindex'));}; function getclippingpathflatness(){     var ref = new actionreference()   ref.putenumerated( charidtotypeid("dcmn"), charidtotypeid("ordn"), charidtotypeid("trgt") );    var desc = executeactionget(ref);    if( desc.getobjectvalue(stringidtotypeid('clippingpathinfo')).getinteger(stringidtotypeid('clippingpathindex')) != -1  ){      return (desc.getobjectvalue(stringidtotypeid('clippingpathinfo')).getinteger(stringidtotypeid('clippingpathflatness'))/65536);   }else{     return -1;  } }; var pathindex = clippingpathindex(); if(pathindex != -1 ){   var pathname = app.activedocument.pathitems[pathindex].name;   var flatness = getclippingpathflatness();   var closed = app.activedocument.pathitems[pathindex].subpathitems[0].closed;   alert(pathname+': '+flatness+': '+closed); } 


More discussions in Photoshop Scripting


adobe

Comments

Popular posts from this blog

Joomla 3.3 Installation Error message - Joomla! Forum - community, help and support

Multilanguage infinite redirect loop error. - Joomla! Forum - community, help and support

trim media limit reached