Skip to main content
Adobe Photoshop Family

3 Messages

 • 

112 Points

Mon, Mar 4, 2019 3:11 PM

Answered

Photoshop: Hide prefix number when we export layers in files

Hello,
How we can hide the default prefix number when we export layers in files ?
Thanks

Responses

Adobe Administrator

 • 

15.8K Messages

 • 

295K Points

2 years ago

You would have to modify the Export Layers To Files.jsx file

Lines 2193 and 2195 as follows:

        //fileNameBody += "_" + zeroSuppress(i, 4);

        fileNameBody += layerName;

Sr. Product Manager, Adobe Digital Imaging

1 Message

 • 

60 Points

I'm not a coder but i'm in a major bind, is there any way I can pay you to remotely set this up on my computer? my email is gigsbyjenna@ gmail 

Thanks!!

Champion

 • 

1.6K Messages

 • 

28.5K Points

Jenna, you don't need to be a coder for this, just use a text editor.

- use the find file function on your machine to search for  Export Layers To Files.jsx 
- make a a duplicate, so you can revert if needed
- open the file in text editor and make the change as shown above
- save

done.

1K Messages

 • 

17.1K Points

Make a copy of the script file first! Then make the changes and relaunch Photoshop.

3 Messages

 • 

112 Points

1. Open in Dreamweaver or other code software (txt is right) "Export Layers To Files.jsx" (C:\Program Files\Adobe\Adobe Photoshop CC 2019\Presets\Scripts)
2. Remplace Lines 2193 and 2195

        fileNameBody += "_" + zeroSuppress(i, 4);

        fileNameBody += "_" + layerName;

as follows:

        fileNameBody +="";

        fileNameBody +=layerName;

3. Save

3 Messages

 • 

112 Points

2 years ago

Thanks :)

33 Messages

 • 

554 Points

a year ago

I'm going to take these steps, to remove the labeling on the files when they batch export. Quick question though. Assuming that since you are editing a script in the Preset file, this is a fix you have to do each and every time the application is updated. Yes?

Adobe Administrator

 • 

15.8K Messages

 • 

295K Points

You should just be able to replace the entire JSX file. That would only have to be done for major versions, though.

Sr. Product Manager, Adobe Digital Imaging