Skip to main content
Participating Frequently
July 8, 2025
Question

Adding file name without extension as basic title on multiple files

  • July 8, 2025
  • 3 replies
  • 659 views

Hi guys,

I work with manuals, and I use Photoshop for editing. I edit a lot of pages, and sometimes a revision comes along. So adding an extra page makes it unbearable to edit sometimes +100 titles within each page.

I've Googled and searched here a bit, but haven't found any results that does what I'm asking for.

Would any of you maybe have some solution to this? I've worked with Photoshop for many years, but never had to use batch features or scripts until now.

Many thanks in advance.

3 replies

Participating Frequently
August 11, 2025

Update: We went with a different approach with an overlay in our upload tool instead. 

Legend
July 8, 2025

Do you want to see the Title metadata to the filename or are you talking about a text layer/watermark actually on the image? You can do either easily with a small script.

Participating Frequently
July 29, 2025

As you can see in the uploaded screenshots here, '5 - INSERT SCREW INTO HOUSING' shows the page I'm working with and 'FILENAME EXAMPLE' shows how the filename is written in explorer: the step/page, only indicated by number and title.

The title in the the PS file contains the assembly step number and a subtitle explaining what the step is about. 

So, let's say in a project I have 99 pages in revision 1.

In revision 2, I have to add a new page between ASSEMBLY STEP 21 and 22.
In total, I now have a 100 pages and have to manually update 78 assembly step/page numbers... It is very tiresome and takes a looot of time. 

As the template is now, it's just one paragraf text box with a line break, but I guess a script could "easily" be made to take the filename title and put in beforementioned paragraf text box?
The thing is, we rely a bit on the file name only containing the number and the subtitle/description and we also find it visually appealing to have a line break between the assembly step and the subtitle/description.

Thanks so much for your help!

c.pfaffenbichler
Community Expert
Community Expert
July 29, 2025

Have you considered doing the work in Indesign? 

As a page layout application it can handle page numbering and sequential numbering fairly easily compared to an image editing application like Photoshop. 

Legend
July 8, 2025

Hi! For text layers you can use the find and replace function (from the layer context menu), the command can be recorded in an action and applied to all open documents.

 

Can you illustrate your question with an example file or a screenshot so that it is clear what title you are talking about and what exactly needs to be changed in it?

Participating Frequently
July 29, 2025

As you can see in the uploaded screenshots here, '5 - INSERT SCREW INTO HOUSING' shows the page I'm working with and 'FILENAME EXAMPLE' shows how the filename is written in explorer: the step/page, only indicated by number and title.

The title in the the PS file contains the assembly step number and a subtitle explaining what the step is about. 

So, let's say in a project I have 99 pages in revision 1.

In revision 2, I have to add a new page between ASSEMBLY STEP 21 and 22.
In total, I now have a 100 pages and have to manually update 78 assembly step/page numbers... It is very tiresome and takes a looot of time. 

As the template is now, it's just one paragraf text box with a line break, but I guess a script could "easily" be made to take the filename title and put in beforementioned paragraf text box?
The thing is, we rely a bit on the file name only containing the number and the subtitle/description and we also find it visually appealing to have a line break between the assembly step and the subtitle/description.

Thanks so much for your help!