Generate Image Assets - Append document name as a prefix?
Hello!
I would like to be able to append the document name to the exported layer name when I use Generate>Image Assets in photoshop.
As a simple example:
There are multiple documents (medal.psd, events.psd, marathon.psd .... etc.) with the same layer names, gold.png and silver.png. The layers have the additional @4x, @15739213, 400x400 suffixes depending on what parameters are needed.

Normally all that gets spit out is:
Medal
- gold.png, gold-95.png, gold-original.png
- silver.png, silver-95.png, silver-original.png
Events
- gold.png, gold-95.png, gold-original.png
- silver.png, silver-95.png, silver-original.png
Marathon
- gold.png, gold-95.png, gold-original.png
- silver.png, silver-95.png, silver-original.png
.... etc for another 50+ PSD files.
However, I need all these files to be uniquely named since they get dumped into 1 directory.
When it generates images I'd like for the document name to prefix the layers when the assets get generated.
- medal_gold.png, medal_gold-95.png, medal_gold-original.png
- medal_silver.png, medal_silver-95.png, medal_silver-original.png
- events_gold.png, events_gold-95.png, events_gold-original.png
- events_silver.png, events_silver-95.png, events_silver-original.png
- marathon_gold.png, marathon_gold-95.png, marathon_gold-original.png
- marathon_silver.png, marathon_silver-95.png, marathon_silver-original.png
- ...etc
Is there something I can modify in the Generate>Image Assets plugin to get the document name prefixed in there? I am aware of the batching abilities in Bridge but it is still "manual" to go in and append the prefixes when Generate>Image Assets is so automated it's just missing the prefix ability.
Thank you!
