Mobile app version of vmapp.org
Login or Join
Mendez620

: How to avoid sequence numbers when exporting layers in Photoshop CC2015? I am using Photoshop CC2015 to modify and then export layers as files. While saving, Photoshop automatically adds a number

@Mendez620

Posted in: #AdobePhotoshop #Cc2015 #Export #Layers #PhotoshopScripting

I am using Photoshop CC2015 to modify and then export layers as files. While saving, Photoshop automatically adds a number sequence to the file.

I do not want this numbering. All I want is 'prefix_layername.jpg', not 'prefix_0001_layername.jpg'.

I've read a thread which described a solution for CS5, but this doesn't seem to work for CC2015. I understand we need to edit the 'Export Layers To Files.jsx' which is located at:

/Applications/Adobe Photoshop CC 2015/Presets/Scripts

Can someone give me the changes that need to be made at this file to avoid the numbering?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Mendez620

1 Comments

Sorted by latest first Latest Oldest Best

 

@Harper654

This worked for me in Adobe Photoshop CC 2015.5 on a Mac.


On a Mac, go to Applications > Adobe Photoshop CC 2015.5 > Presets > Scripts > Export Layers To Files.jsx
Open the .jsx file and comment out the the contents of line 1083 by applying two forward slash characters (//) to the beginning of the line. The resulting code will look like this:

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

Save the .jsx file changes.
Close and reopen Photoshop CC, then run File > Export > Layers to Files...

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme