• Editor
  • [Feature Request] Photoshop script change

Hiya!

I'd like to request a feature please: an option to prefix the layer with the name of the group it's in. e.g:

Group

Layer

...exports as Group_Layer.

The reason for this is I'm getting a lot of artwork from artists who have no ability to learn new information and so will never name their layers uniquely, and I'm processing dozens of files each time with hundreds of layers that need renaming to be unique.

I'd be happy to make the change to the script myself if someone can give me a bit of a hand navigating it, as it's quite the script. I've done a bit of photoshop JSX scripting before but nothing this complicated.

Related Discussions
...

In the meantime, you can use the [folder] tag for the existing photoshop group. Its faster than renaming each layers under a group.
Name can be the same under different folders.

How does that work?

If you have psd with layers like these:

HappyFace


---

Eyes


---

Mouth
SadFace


---

Eyes


---

Mouth

you can add [folder] tag to the groups.

[folder]HappyFace


---

Eyes


---

Mouth
[folder]SadFace


---

Eyes


---

Mouth

the corresponding layers (Eyes and Mouth) will be exported under SadFace and HappyFace sub-folders:
<export folder>/HappyFace/Eyes.png
<export folder>/HappyFace/Mouth.png
<export folder>/SadFace/Eyes.png
<export folder>/SadFace/Mouth.png

Ah I see. That's pretty neat, but all the slot names will still conflict right?

slot name will be 'HappyFace/Eyes' as I could remember.