• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
2

Load Files into Photoshop Layers - without the file extension...

Participant ,
Jan 16, 2025 Jan 16, 2025

Copy link to clipboard

Copied

Would love to see the option to drop the file extension from the layer name when loading files into Photoshop layers. The extensions often aren't needed and take up valuable UI space. Also, if users are running scripts that pull the layer name to use elsewhere, the included file extension can create problems. A simple checkbox in preferences would do the trick. It's quality of life request.

 

This would be needed when running the script from within PS and Bridge.

Idea No status
TOPICS
Actions and scripting , Windows

Views

129

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jan 23, 2025 Jan 23, 2025

@Carson Jones 

 

As this is a script, Adobe can't really add a checkbox into Preferences, things don't work that way. Adobe could add a checkbox to the script interface though. I have added my vote.

 

To achieve the desired result without waiting for Adobe to possibly implement this you can edit one line of code.


The Presets/Scripts/Load Files into Stack.jsx uses support scripts.

 

Edit with caution:

 

Presets/Scripts/Stack Scripts Only/CreateImageStack.jsx

 

Change line #371 from:

 

app.activeD
...

Votes

Translate

Translate
6 Comments
Community Expert ,
Jan 22, 2025 Jan 22, 2025

Copy link to clipboard

Copied

Are you talking about »Load Files into Stack.jsx«? 

 

If you use the Script very often you may want to look into adapting it or creating one of your own (depending on your exact workflow). 

Votes

Translate

Translate

Report

Report
Participant ,
Jan 22, 2025 Jan 22, 2025

Copy link to clipboard

Copied

I'm referring to the native tool (i.e. script) in PS and Bridge.

Votes

Translate

Translate

Report

Report
Community Expert ,
Jan 22, 2025 Jan 22, 2025

Copy link to clipboard

Copied

In Photoshop itself there is no Script »Load Files into Photoshop Layers«, that’s why I asked about »Load Files into Stack.jsx«. 

Votes

Translate

Translate

Report

Report
Participant ,
Jan 22, 2025 Jan 22, 2025

Copy link to clipboard

Copied

Yes you're right. I run this script as a tool out of Bridge. It serves the same function and behaves almost identically (no option to 'Attempt to Automatically Align Source Images' and 'Create Smart Object after Loading Layers'.).

Votes

Translate

Translate

Report

Report
Community Expert ,
Jan 22, 2025 Jan 22, 2025

Copy link to clipboard

Copied

I'm pretty sure that this has come up multiple times before with various changes to the base code offered... I'll see what the forum search finds.

 

Another option is to run a script to loop over all top-level/root layers and remove the extension from the layer name.

 

EDIT – Similar stacking scripts here:

 

https://community.adobe.com/t5/photoshop-ecosystem-discussions/layers-creating-layers/td-p/13252109

 

https://community.adobe.com/t5/photoshop-ecosystem-discussions/combining-tiffs/m-p/13475955

 

Votes

Translate

Translate

Report

Report
Community Expert ,
Jan 23, 2025 Jan 23, 2025

Copy link to clipboard

Copied

LATEST

@Carson Jones 

 

As this is a script, Adobe can't really add a checkbox into Preferences, things don't work that way. Adobe could add a checkbox to the script interface though. I have added my vote.

 

To achieve the desired result without waiting for Adobe to possibly implement this you can edit one line of code.


The Presets/Scripts/Load Files into Stack.jsx uses support scripts.

 

Edit with caution:

 

Presets/Scripts/Stack Scripts Only/CreateImageStack.jsx

 

Change line #371 from:

 

app.activeDocument.activeLayer.name = this.fName;

 

To:

 

app.activeDocument.activeLayer.name = this.fName.replace(/\.[^\.]+$/, ''); // Remove file extension;

 

Votes

Translate

Translate

Report

Report