Photoshop: How do I customize the export folder name in Generator?

  • 2
  • Question
  • Updated 3 years ago
  • (Edited)
I just discovered Generator, and it is literally the coolest feature I've ever come across in Photoshop. For today at least my love-hate relationship with Photoshop has turned to love.

My one question is, how do I customize the layer name that my exported assets get saved to?
Photo of Elliott

Elliott

  • 100 Posts
  • 5 Reply Likes
  • happy

Posted 3 years ago

  • 2
Photo of Jeffrey Tranberry

Jeffrey Tranberry, Sr. Product Manager, Digital Imaging

  • 14654 Posts
  • 1951 Reply Likes
https://github.com/adobe-photoshop/ge...

See the section near the bottom called "Default asset specifications"
Photo of Elliott

Elliott

  • 100 Posts
  • 5 Reply Likes
Sorry I didn't mean layer name, I meant layer folder...my bad.

I tried default exports/ but all that did was create a subfolder inside the assets folder called exports and put my graphics in there.

Say I just want to change "icon-assets" to "icon-exports" or "icon-PNGs" how do I do that?

Thanks!
Photo of Jeffrey Tranberry

Jeffrey Tranberry, Sr. Product Manager, Digital Imaging

  • 14654 Posts
  • 1951 Reply Likes
That's a little more complex. For that, you'd have to dig deeper into the SDK and modify node.js.

How is your scripting mojo? https://github.com/adobe-photoshop/ge...
Photo of Elliott

Elliott

  • 100 Posts
  • 5 Reply Likes
@Jeffery,
Another thing...after using Generator all day I'm having a problem where keeps randomly switching off. I notice it stops exporting assets, so I check Generate > Image Assets, and find that it has become unchecked. Any ideas on this one? Is this a known issue?
Photo of Elliott

Elliott

  • 100 Posts
  • 5 Reply Likes
Eh, I think I'll live with it as is :)

Another question on Generator. I'm trying to figure out how to export a layer but maintain the dimensions (and space the icon takes up within it) of the PSD. Is the only way to do this by turning the layer into a layer comp, and exporting that via Generator (which I just discovered you can do, and which is awesome btw)