Skip to main content
Participant
December 16, 2024
Open for Voting

Remove automatic number sequence when exporting layers to files in Photoshop

  • December 16, 2024
  • 4 replies
  • 1029 views

Photoshop automatically adds a number sequence to files exported using the "export layers to files" option under the edit menu - at least on Mac. This requires me to either manually remove the numbers or move into Lightroom or Bridge. A checkbox to add / not add the number sequence would be very useful. I make surface patterns and export large numbers of layers-to-files and it's a big hassle that I can't just turn off this annoying feature. This has been a topic of discussion since at least 2017, but the problem is still not addressed in PSD 2025. 

4 replies

Stephen Marsh
Community Expert
Community Expert
December 21, 2024

@marciah17830906 

 

I know that this is an “idea" feature request topic, however, only the developers can help with that.

 

As end-users such as ourselves can only modify or use different scripts, I'm curious how you went?

Participant
December 22, 2024
I persisted and they have passed it on to the developers. Fingers crossed it will make it to the actual to-do list!
Stephen Marsh
Community Expert
Community Expert
December 16, 2024

Thanks Stephen. I understand why it's an option, just wish it WAS optional. I'm unfamiliar with where the responsible script resides and how to access it. I read threads from 2017 but was not able to get into the script file based on that advice. 


By @marciah17830906

 

These old Adobe scripts really need to be rewritten with updated file formats and other options as you suggest for the new UXP scripting or panels, they are complex and hard to edit.

 

Previous topics, there are multiple ways to get to the same result:

 

https://community.adobe.com/t5/photoshop-ecosystem-discussions/export-layers-to-files-how-to-set-file-name-prefix-empty-by-default/m-p/14285616#M769579

 

https://community.adobe.com/t5/photoshop-ecosystem-discussions/how-to-export-with-layer-name-when-quot-export-layers-to-files-quot/m-p/14429961#M781085

 

https://community.adobe.com/t5/photoshop-ecosystem-discussions/export-layers-to-files/m-p/12314369

 

https://community.adobe.com/t5/photoshop-ecosystem-discussions/remove-number-sequence-when-quot-export-layers-to-files-quot-in-cc/m-p/9453512

 

https://community.adobe.com/t5/photoshop-ecosystem-discussions/removing-number-sequence-in-export-layers-to-files-quot-in-cs5/m-p/2833461

 

Backup the original script so that you can recover if things don't work to expectation, then make edits as per one of the topics above.

 

The script is located in your version's application/program folder, in the Presets/Scripts directory:

 

Export Layers To Files.jsx

 

 

P.S. An alternative script here:

 

Participant
December 16, 2024

Thanks Stephen. I understand why it's an option, just wish it WAS optional. I'm unfamiliar with where the responsible script resides and how to access it. I read threads from 2017 but was not able to get into the script file based on that advice. 

Stephen Marsh
Community Expert
Community Expert
December 16, 2024

The sequence numbers ensure that layers of the same name don't conflict and override each other.

 

Previously, I have edited the script to disable this feature, I just need to find the topic thread...