Auto script to export groups and layer names
Hey Guys,
I searched for an answer but couldn't find what i'm looking for. I'm trying to export a large psd, and i'm kind of tired of writing individual files names out.
I'm looking for script that will export layers according to the layers and group names.

So if i export this the files names will look like
group1_index_red_c.png
group1_index_red_b.png
group1_index_red_a.png
group1_index_green_a.png
group1_index_green_b.png
group2_index_purple_a.png
group2_index_green_a.png
group2_index_green_b.png
something like this.
as a bonus it would be nice to export only visible and/or selected layers too.
Any help would be appreciated.
Thanks

