Skip to main content
Participant
November 17, 2020
Question

Automate > Batch keeps overwriting the current file.

  • November 17, 2020
  • 2 replies
  • 3224 views

Hi everyone, 

 

I am new to using Photoshop Actions but I created one that acheived my goal of opening a background image, applying a PNG overlay, Saving for Web, deleting the overlay layer, repeating the process with a few different overlays on the same background image, and closing the file. 

When I run the action on one backgroud image it works great. However, when I do Automate > Batch on an entire folder of background images it just keeps replacing the set of images over and over. 

I need to somehow append a name to each file so they dont overwrite. Here's an example of what I need from each background:


background_red-overlay.png

background_green-overlay.png

background_blue-overlay.png

 

If someone could help me with this I would greatly appreciate it!

This topic has been closed for replies.

2 replies

Stephen Marsh
Community Expert
Community Expert
November 17, 2020

In the Batch interface, check/tick the "override action open" option...

 

Or remove or disable the open step from the action.

 

Batch opens files, so your action step to open an explicit file is conflicting with Batch, which is why it needs to be overriden or removed/disabled.

Participant
February 3, 2023

Im having this same issure with a very simple action, any help would be super appreciated

 

Stephen Marsh
Community Expert
Community Expert
February 3, 2023

There is no "save as" or "save as a copy" step visible in your action, however, it sounds like there is one there.

 

In Batch, you need to check the "override action 'save as' commands" checkbox to avoid overwriting using the name recorded in the action save as step.

 

EDIT: Otherwise, look at my earlier 2020 reply regarding the use of override open command in batch.

 

https://helpx.adobe.com/photoshop/using/processing-batch-files.html#process_a_batch_of_files

 

Override Action "Save As" Commands

Ensures that processed files are saved to the destination folder specified in the Batch command (or to their original folder if you chose Save and Close), with their original names or the names you specified in the File Naming section of the Batch dialog box.

If you don't select this option and your action includes a Save As command, your files will be saved into the folder specified by the Save As command in the action, instead of the folder specified in the Batch command. In addition, if you don't select this option and the Save As command in the action specifies a filename, the Batch command overwrites the same file (the file specified in the action) each time it processes an image.


 

c.pfaffenbichler
Community Expert
Community Expert
November 17, 2020

Batch uses the Action you chose, if the name and path of the resulting file/s are part of the recording that’s not a malfunction of Batch. 

Please provide meaningful screenshots including the fully expanded Action in the Actions Panel and the Layers Panel. 

 

If you need to amend filenames you will probably have to use a Script instead of an Action. Do you have any JavaScript experience? 

 

 

Participant
November 17, 2020

Participant
November 17, 2020

I collapsed the repitive place/exports bc its the same exact thing as above I just used a different overlay.