My question is an extension from this question ( Batch export Photoshop layers to individual PNG files ), but for some reason, I can't seem to contact any of the posters from that thread.

Basically, I want to do that same process, but instead of just doing the top layers, I want to do the layers that are inside a folder. The reason for this is because I have several base layers, that don't change. Actually, all that is changing in mine is some text. So is there a way to add a dropdown that would allow me to choose which subfolder I want to use as the layers to alternate?

Naturally, I want to adapt escalation746's script, as it is the fastest.


  • 1
    Hey David, I'm the original author of the script. You could have contacted me through a comment there. It doesn't appear as if escalation746 is still around. I'd be happy to update his script (which is based on my script) and try and add such a feature into it. I'm currently at work but I'll try and take a look at it when I get home but I don't see why it's not possible.
    – Hanna
    Commented May 20, 2013 at 17:00
  • 2
    I need a reputation of 50 to comment, otherwise I would have done just that. And sounds good, thank you.
    – David
    Commented May 20, 2013 at 21:35
  • Have you made any headway on this?
    – David
    Commented May 24, 2013 at 1:16
  • Actually working on it right now. Just started early today and I have a four day weekend so I'll be working on it and ironing it out. I've found some problems with escalation746's script (it doesn't seem to save each layer individually) so I'm trying to fix a few things and improve it.
    – Hanna
    Commented May 24, 2013 at 4:45

1 Answer 1



I've completed the script. I added a dropdown that allows you to choose to export all layers or just a specific layer group. Please note that it only picks up top-level layer groups right now, and I haven't done extensive testing on how it will handle nested groups (though it should handle it just fine).

Let me know if this does everything you need it to or if you need any other functionality with it.


Just wanted to add the link to the most up-to-date version of the script here.

  • Finally got a chance to test it out, and it works... kinda. It seems to be working as before, where it will save all layers, but instead of only touching the folder selected, it's hiding everything. So I'm still only getting those layers in the folder selected, instead of the layers in the folder selected, and everything else. Make sense?
    – David
    Commented May 27, 2013 at 21:25
  • Oh you want to select specific layers, not specific layer groups? Am I understanding that right?
    – Hanna
    Commented May 27, 2013 at 22:26
  • No, you did it right, but, say I have a background layer, and then a layer group that has five text layers. The output should be five files, with the text alternating and the background staying. However, yours just outputs the five text layers, and the background is invisible.
    – David
    Commented May 28, 2013 at 1:47
  • To be honest that seems to ruin the whole point of exporting layers to images (as it's implied that every layer be a unique image.) And while I do see how this functionality might be useful to you it seems too localized for me at the moment to invest any more time into it for now as my time is rather limited. I would suggest building some actions perhaps that automatically save the layer your own and all layers underneath it.
    – Hanna
    Commented May 28, 2013 at 5:01
  • Perhaps seeing my project will help. ( meesa94.deviantart.com/art/KJV-Album-Art-373478919 ) As you can see, I have 66 different text layers that need to be switched out. Run your script, and you'll see what happens compared to what it should look like.
    – David
    Commented May 29, 2013 at 3:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.