Seleccionar y fusionar capas en Photoshop

I want to explicitly select multiple layers (by reference, not by name or anything else involving re-searching something I already have a reference to!) and merge them in Adobe's Javascript (aka. Extendscript).

I can set the document's activeLayer, but it won't take an array of layers.

preguntado el 03 de mayo de 12 a las 10:05

1 Respuestas

What you're looking for is the LayerSet object which refers to a group of layers including nested LayerSet's -Photoshop Javascript Reference. You can manipulate all layers within a layer set with a single command like this:

LayerSet.merge();

contestado el 08 de mayo de 12 a las 04:05

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.