Skip to main content
Participating Frequently
July 12, 2020
Question

Overwriting files on action

  • July 12, 2020
  • 1 reply
  • 1119 views

Hey everyone,

 

I've been trying to figure out a way to execute an action that will rename my file but it keeps overwriting the file with each new photo and action due to the name...

I was wondering if there is any way around it. I only need to save 1 photo at the time so the image process / batch save is not a good solution. Would be helpful if instead of overwriting the file, it will just add _1 / _2 / _3 etc.. as it does on the batch save, 

I've done some reading and I understand some scripting needs to be done? 

Is there another way or any other recommendation? 

 

Thanks 

This topic has been closed for replies.

1 reply

JJMack
Community Expert
Community Expert
July 12, 2020

When you record the save as step in you action if do not change the file name in the Save as dialog just accept any name the Photoshop fills in.  Then No Name will be recorded into the action step. When you Batch the action The current document will be used for the file name in the save as step you recorded.  If your want more control over file name have no  save in your action and batch it with as script like Image Processor. Scripts can use some logic naming files they will provide you with naming options. 

JJMack
tomerperAuthor
Participating Frequently
July 12, 2020

Hey JJ , 

 

Thanks for your reply! 

 

I need more control over the file names indeed, however saving batch will not be useful.

See, I run a printing business and i have a few actions for different surfaces... The idea is once i bind a saving action, the name of the file will be changed to the specific material needs to be used for production. Therefore saving Batch won't help as even if we work with 10 files ( current documents ) , they won't be all same surface. Its fast pace production as we keep getting more procudtion throughout our workflow in photoshop.

Any idea how could I use the logic saving as  a script with no batch saving but specifically for the current document? 

By the way, the image processor thing slows down our production drastically,. I won't be able to keep closing all windows and use it just for saving 1 file name logically.

 

Also, I was looking into conditional actions in a sense of changing the file name IF the cropped size of the photo is X, but couldnt find a way of doing it as all the conditional actions are pre-determined. Any ideas ? 

 

Tom

JJMack
Community Expert
Community Expert
July 13, 2020

If you will not be batching all you need do is turn on your actions  saves as steps dialog by checking the box in the left side of the step in the action.  This will make the step interactive  you can name the file any way you want. All the setting you recorded in the action step will be preset into the dialog all you  need do is change the namd and click save.

JJMack