javascript - Photoshop Script: Get color of Rectangle Shape and Solid Fill layers -


in project have rectangle shape layers , 1 solid fill layer. need print out colors of layers.

this code enumerates layers , prints names of visible:

#target photoshop  (var = (app.activedocument.artlayers.length - 1); >= 0; i--) {     var layer = app.activedocument.artlayers[i]     if (layer.visible)     {         $.writeln(layer)     } } 

how can colors? layers may transparent.


Comments

Popular posts from this blog

xml - Extract substrings with XSLT -

How can do a tuple comparison in coffeescript similar to that in python? -

math - "ELO Rating" and how does "TSR Rating" work? -