Find layer by layer name

Anyone, especially newbies, asking for help with Photoshop Scripting and Photoshop Automation - as opposed to those contributing to discussion about an aspect of Photoshop Scripting

Moderators: Tom, Kukurykus

norm

Find layer by layer name

Post by norm »

Hi guys

Im trying to create a script that looks through all layers for the layer name "button" and selects it.

is there a straight forward way to do this?
pfaffenbichler

Find layer by layer name

Post by pfaffenbichler »

If by straightforward you mean »using the DOM« then yes.
Depending on the file (number of Layers and Groups) performing the task via DOM may take very much longer than with Action Manager code, though.
pfaffenbichler

Find layer by layer name

Post by pfaffenbichler »