Select and merge layers in Photoshop

I want to explicitly select several levels (by reference, not by name or anything else that is related to re-searching for something that I already have a link to!) And combine them into Adobe Javascript (aka. Extendscript).

I can set the activeLayer document, but there will be no array of layers.

+3
source share
1 answer

What you are looking for is a LayerSet object that belongs to a group of layers, including a nested LayerSet - Javascript JavaScript Reference . You can manipulate all layers in a layer set with a single command:

LayerSet.merge();
+1
source

All Articles