Skip to main content
Known Participant
May 6, 2021
Question

Select Layer

  • May 6, 2021
  • 4 replies
  • 1513 views

I want to select all layer, like layer 1,layer2,laye3 etc. In this script create select layer at a time.

This topic has been closed for replies.

4 replies

c.pfaffenbichler
Community Expert
Community Expert
May 23, 2021

Please post meaningful screenshots (including the Layers Panel) of what you start with and what you want to get at. 

 

An aside: The Layers seems to be a flat color, possibly pure black; so why not use Solid Color Layers? 

Stephen Marsh
Community Expert
Community Expert
May 23, 2021

You need to be very clear/explicit in what you require. Try to think through the variations/conditions.

 

A simple built-in feature is: Select > All layers

 

Which will select all of the layers in your image example, except the Background image layer. Adding the Background layer to the selection is easy and can be accomplished via an action.

 

Or do you want:

 

* Only "normal" artLayers with a linked layer mask, regardless of layer name?

 

* Only artLayers with a layer mask, whether linked or not, regardless of layer name?

 

* Only artLayers with a layer name of "Layer #" where # could be one or may digits with or without mask conditions as above?

 

* Will the layers possibly be inside of a layer/group or set?

 

* Does the current selected layer name/position in the stack have any bearing on the result?

 

* Or will...

 

Kukurykus
Legend
June 20, 2021

This answer was marked as correct but MXKS still did not clarify what he exactly wanted 😕😕

Kukurykus
Legend
May 6, 2021

All layer like entire one layer or all layers at same time? The second sentence confuses me even more 😕😕

JJMack
Community Expert
Community Expert
May 6, 2021

When you state like "layer 1,layer2,laye3 etc " do you mean normals layer with link layer mask. or mean layers  with layer in the layer's name? "In this script"?  You posted no script code? "create select layer at a time"? Can you elaborate on that?

JJMack