Skip to main content
Lucas from H
Known Participant
July 27, 2023
Answered

Exporting Only Visible Groups One by One Script/Action

  • July 27, 2023
  • 3 replies
  • 1332 views

Hey there,

 

I'm wondering if there is any simple way to speed up the process I have. Either by script or action, it doesn't matter to me.

 

I have a .psd file with a purple background layer (which is common for all the groups) and 100 groups with a rectangle (darker one) and a number on it.

 

 

Now I need to export all of them (each group separately), one by one, in a .png format. Normally it'd take me A LOT of time when turning on/off each group one by one and saving images manually (and giving them names manually). Is there any way to quickly save it so:

  1. action/script will show/hide each group one by one,
  2. save it as .png,
  3. save it with a name of the group?

 

Do you have any ideas? Maybe someone wrote a similar script? Or I can do it myself? Do you know any script related tutorials?

 

Thank you in advance,

Lucas

This topic has been closed for replies.
Correct answer Mike Bro

@Lucas from H,

Take a look at the post below as it seems to be exactly what you're looking for.

https://github.com/antipalindrome/Photoshop-Export-Layers-to-Files-Fast/blob/main/README.md

 

Regards,

Mike

3 replies

Bojan Živković11378569
Community Expert
Community Expert
July 28, 2023

Out of context, maybe will help someone. One can record action, I believe, to create layer comp from current layers state. While creating compositions - create layer comps then export layer comps using File > Export > Layer Comps to Files...

Renaming is not problem, it can be done in Bridge.

Lucas from H
Known Participant
July 28, 2023

Uh, also a nice idea. I was looking for the ultimate solution, but yours is not bad at all and worth a try. Thanks @Bojan Živković11378569 

Stephen Marsh
Community Expert
Community Expert
July 27, 2023

Your key requirement is a mix of a static layer and variable layers, so in addition to the script mentioned by @Mike Bro here are three additional options:

 

https://github.com/mechanicious/photoshopCompositionComposer

https://github.com/Paul-Riggott/PS-Scripts/blob/master/Layer%20Saver%20Plus.jsx

 

https://github.com/Paul-Riggott/PS-Scripts/blob/master/Layer%20Saver.jsx

Lucas from H
Known Participant
July 28, 2023

Thank you @Mike Bro ! Looks very helpful! Please give me some time now so I can try it and maybe I'll be back with some questions. Kudos for these links, really. 

Mike BroCorrect answer
Legend
July 27, 2023

@Lucas from H,

Take a look at the post below as it seems to be exactly what you're looking for.

https://github.com/antipalindrome/Photoshop-Export-Layers-to-Files-Fast/blob/main/README.md

 

Regards,

Mike

Lucas from H
Known Participant
July 28, 2023

Thank you so much @Mike Bro ! Please give me some time now so I can try it and maybe I'll be back with some questions. Many thanks again!