Skip to main content
dublove
Legend
March 3, 2025
Question

Photoshop actions no longer safe? I just resize and save the jpg.

  • March 3, 2025
  • 3 replies
  • 362 views

I'm using version 26.4 and suddenly I found a scary bug .
I opened abc.jpg and recorded an action: img (change 350dpi, 190mm width, press Ctrl+S again, save as abc.jpg, then close)

Next I perform the img action on 123.jpg and I realize that I get a picture named abc.jpg but the contents are from 123.jpg.

It's so scary, do I have to save as, instead of just tiles.


The problem used to be that recorded actions would always be saved to the directory where the action was originally recorded (e.g. D:\a\abc.jpg), and would not be updated to the directory of the current picture (not to D:\b\123.jpg).

 

This problem has not been solved yet, but today I saw another big bug.

My god, what a sin, scared the baby to death.

3 replies

Stephen Marsh
Community Expert
Community Expert
March 4, 2025

Actions have always recorded an absolute path from the recording system, and optionally a filename as well:

 

 

If running the action in interactive "modal" mode on a single open image, you can change the filename and location.

 

 

If running the action via the automate > batch command, then there's a checkbox to "override action save options" so that the recorded path and or name aren't used (otherwise the batch would overwrite itself).

dublove
dubloveAuthor
Legend
March 4, 2025

There should be no problems with the operation process.

 

It turns out that there is a problem that has not really been solved, I recorded the action is saved as a jpg and then closed, but in the process of executing the action, encounter PSD, Tif will pop up the window, which is understandable.

 

But the original image is in png format, and the save as jpg process pops up the window, which is a bit annoying.

 

c.pfaffenbichler
Community Expert
Community Expert
March 5, 2025

Please illustrate the whole process, your description seems a bit unclear to me. 

 

What are the other steps in the Action? 

Genius
March 3, 2025

When you record the action, DO NOT make changes to the folder or filename. if you do, those will be hardcoded into the action and used every time you run it. Which is how you got your file overwritten.

c.pfaffenbichler
Community Expert
Community Expert
March 3, 2025
quote

When you record the action, DO NOT make changes to the folder or filename. if you do, those will be hardcoded into the action and used every time you run it. Which is how you got your file overwritten.


By @ExUSA

I suspect the original poster misunderstood what they actually recorded in the Action, that’s why I asked for the screenshot of the fully expanded Action. 

c.pfaffenbichler
Community Expert
Community Expert
March 3, 2025

Please provide meaningful information, starting with a screenshot of the fully expanded Action in the Actions Panel.