Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 90089

Re: Re: Matching stroke colour for multiple objects of different colours simultaneously

$
0
0

try this script,

 

// matchStrokeToFillColor.jsx
// carlos canto 07/01/2014
// https://forums.adobe.com/thread/1511792


function main(){
      var idoc = app.activeDocument;    var sel = selection;      for (a=0; a<sel.length; a++) {        var ipath = sel[a];        if (ipath.typename=='PathItem') {            ipath.stroked = true;            ipath.strokeColor = ipath.fillColor;        }    }


}


main ();

Viewing all articles
Browse latest Browse all 90089

Trending Articles



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