Photoshop-Export-Layers-to-Files-Fast icon indicating copy to clipboard operation
Photoshop-Export-Layers-to-Files-Fast copied to clipboard

Duplicating script to have different settings

Open dokeng opened this issue 2 years ago • 1 comments

Hey Hanna! Thank you so much for this amazing tool! It totally saves lots of time.

I made some naming settings for an action/batch like version1_documentname. And my other action should take version1_layernames. I decided to duplicate script and load it again to Photoshop so i could make another settings but it doesn't work. I can see two different scripts but they sharing same settings somehow. Maybe they have same cache or something like that.

I guess adding Export Presets can solve my problem. But untill that feature can you give me please a trick to have 2 different scripts with different settings?

Thank you a lot!

dokeng avatar Jun 22 '22 08:06 dokeng

In the script around line 343, I think you just need to change this settings ID?

var USER_SETTINGS_ID = "exportLayersToFilesCustomDefaultSettings";

You can probably add a number to the end like exportLayersToFilesCustomDefaultSettings2.

earwig avatar Aug 27 '22 04:08 earwig

Thanks for answering this, @earwig ! That's a great workaround :)

antipalindrome avatar Sep 25 '22 02:09 antipalindrome