Mobile app version of vmapp.org
Login or Join
Rivera951

: Export each folder as a jpg (or other) in Photoshop Ive got about 15 folders (groups) in a .psd file each folder has multiple layers, together each folder makes one retouched and editted image,

@Rivera951

Posted in: #AdobePhotoshop #PhotoshopScripting

Ive got about 15 folders (groups) in a .psd file each folder has multiple layers, together each folder makes one retouched and editted image, im aware of the export layers to files script, but is there a way to export each folder as a file ?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Rivera951

1 Comments

Sorted by latest first Latest Oldest Best

 

@Hamaas979

A quick and dirty way is to run this script on the document:

for (var i = app.activeDocument.layerSets.length - 1; i >= 0; i--) {
app.activeDocument.layerSets[i].merge();
};


...and then use the export_layers_to_files.jsx script you already talked about.

This will take the top most Layer Groups, and merge them into a Layer named whatever the group was named. The second script will take those layers and export files however you want.

NOTE: This will only merge TOP LEVEL GROUPS. Groups within groups will not be treated separately.

The two scripts could be combined, but it depends on how often you need to run it.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme