Skip to main content
Inspiring
September 26, 2021
Answered

I'm having trouble using actions.

  • September 26, 2021
  • 2 replies
  • 2981 views

I have been using actions in Photoshop since they were added as a feature but something has happened that I don't understand. 

 

I have brought 24 photos into Photoshop to edit.

All I am trying to do is to create an action which will save the photo I am working on while replacing the original, and then close that file and bring up the next one I want to work on.

 

Let me give you an example. I have the folder open on my desk top and I drag and drop 24 files into Photoshop. Lets assume those photos are named DSC00252 - DSC00271. I'm working on DSC00254 in Photoshop. After adjusting this file I run an action that was created to save the finished photo I was just working on, close that file, thereby bringing up the next one to work on in Photoshop. I'm watching the folder where the saved photo has been directed to be placed. It is the same folder it original came from when I placed it into Photoshop. The original file DSC00254 is left untouched and exactly where it was originally located before I started working on it. However, now I find that my DSC00267 file is no longer in my folder. That number is still there but the image of DSC00267 has been replaced with the image of file DSC00254.  

I've attached a screen shot of my folder to make it very clear what I'm talking about. I've got 3500 photos to process and I'm hoping to find an answer to this problem before beginning that task. Thank you.

 

 

This topic has been closed for replies.
Correct answer Stephen Marsh

Were the JPEG files previously saved by Photoshop, or are they saved directly from a camera or other software than Photoshop?

 

If the originals are JPEG from Photoshop, and you are saving over the top of them as JPEG with the same filename, then remove the recorded save step and use the action insert menu item command to simply record save. The files will be saved with the same name and location and JPEG settings.

 

If an action has a recorded filename, it will always use this name when running the action from Photoshop with a manual command on a single image. Using a Batch command offers the ability to "overwrite action save as command" which will ignore the recorded filename in the action.

 

2 replies

Stephen Marsh
Community Expert
Stephen MarshCommunity ExpertCorrect answer
Community Expert
September 27, 2021

Were the JPEG files previously saved by Photoshop, or are they saved directly from a camera or other software than Photoshop?

 

If the originals are JPEG from Photoshop, and you are saving over the top of them as JPEG with the same filename, then remove the recorded save step and use the action insert menu item command to simply record save. The files will be saved with the same name and location and JPEG settings.

 

If an action has a recorded filename, it will always use this name when running the action from Photoshop with a manual command on a single image. Using a Batch command offers the ability to "overwrite action save as command" which will ignore the recorded filename in the action.

 

Inspiring
September 27, 2021

Hello Stephen,
The photos were all downloaded into a folder on my hard drive when we returned from this trip. I pulled them into Bridge in order to get them into Adobe Camera Raw and make some standard adjustments that I make to all my photos before going in and doing individual photo editing, and placed them into a separate folder away from my originals. When I began the individual photo edits is when I noticed what was happening.

I understand. It is the "save" step that is causing the problem. I just couldn't understand why. I agree with you, the simple answer is to just hit the Ctrl s keystroke combo. Thank you Stephen

smile_regular.gif

 

Terry Lee Martin

 

 

Stephen, you helped solve the problen. When creating the action I used the "Ctrl s" keystroke method to save the file, and to close it I used "Ctrl w". The problem turned out to be that when I was creating the action and using the "Ctrl s" method to save the file, I wasn't actually doing that. I was creating an action on a file that had not been modified at all. Therefore the  file -"Save" function was dimmed out. When I hit the Ctrl s keystroke combo, I didn't see that. When I went to file - Save, I immediately saw that it was dimmed out. Creating an effective action wasn't possible and apparently caused Photoshop to create this unexpected result of replacing another file in the bunch. Thanks for you help.

JJMack
Community Expert
Community Expert
September 26, 2021

Posting your Folder does not help us see what has taken Place. Please expand your action so all steps and their recorded setting can be seen.   Then post a screen caprure of the Action se we see what has been going on.

JJMack
Inspiring
September 26, 2021

Hello JJMack,

Here is the action and the result. DSC00253 was brought into photoshop and the action to save and close was initiated. The result was that it replaced DSC00254. There are only two steps. If there is a way to display more of what the details of the action are I'm not sure how to do that. Perhaps you can help me with that?

 

 

Here is what it looks like when I expand those two steps.

JJMack
Community Expert
Community Expert
September 29, 2021

JJMack, I very much appreciate your patience with me in attempting to help me solve my problem. I hope I will not be trying your patience just a bit more but I'm still a little confused and could use your advice. 

 

May I trouble you to help me by first allowing me to explain step by step what I'm attempting to do? And then secondly, would you please show me step by step the procedure to create an action to acomplish this? I'm certain that will clearly show me what I am doing incorrectly.

 

I have a folder of several hundred jpg photos. Totally I will be using this action to complete the processing over over 2500. I want to be able to run them through Camera Raw and make several individual adjustments to them. I want then to open them all into Photoshop. Here I will be doing sevearal different things depending on the image. For some I will be replacing the sky, and for others I'm be removing people, or trash, or other things from the image. I most likely will also need to do some dodging and burning adjustments.

 

At some point I will have all the needed adjustments made to my image. There will most likely be several Photoshop layers for many of the images. This is the point where I would like to make an action. I want the action to ---
1. flatten the image in Photoshop.
2. Save the jpg image to the same folder while replacing that original file with this altered image as a jpg.
3. Close that image in Photoshop.

I'm obviously doing something wrong, so if you can lay out the steps I need to follow, I would very much appreciate it. Thank you JJMack


With  legacy Save AS you can save both a layered version and a Flat Jpeg version of your document.  Flattening the document to save the Jpeg version is not requited  the jpeg file will be a flatten background jpeg file. Save your layers if you may want to edit the image in the future preserve you current work it will be easier to edit the layered  document than the modified flatten imaged. If the Jpeg was the originals file save as will ask if you want you replace it.  Normally is not a good Idea to replace file in an actions.  If something did not go correctly in that action you destroy your source image.

Though I know how to use save and save as  in Actions I can not say that  I use actions that have save steps for actions do not have the ability to save files as well as scripts  can.   I would highly recommend that you do not use save steps in actions.  Create your Actions without saved steps and have a script  like the Processor Pro  use your actions to process your image files and have the script save the output file you want.  Even if you make a mistake  Image Processor Pro will not destroy any existing file saving over it. If the output file exist it it for the current document the script will not replace it.  Image Processors  scripts will only write new output file. They will add a suffix number to the file name if there  is that filetype and file name in the output folder.  Do not shoot yourself in the foot.

 

Crafting Actions Package UPDATED Aug 10, 2014 Added Conditional Action steps to Action Palette Tips.
Contains

Example
Download]

JJMack