Quantcast
Channel: Adobe Community: Message List - Photoshop Scripting
Viewing all articles
Browse latest Browse all 27456

How to choose a layer in the layerset ?

$
0
0

Hi everyone!

I used the script to the selected layers. If the layer is in a group of layers, an error occurs when you call the function:

doc.activeLayer = app.activeDocument.artLayers.getByName(nameLayer);

error- No such element.

How to choose the layer is in a group of layers or out of group? Thanks


Viewing all articles
Browse latest Browse all 27456

Trending Articles



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