Photoshop Action Save As Different Filename

48 views
Skip to first unread message

Regulo Akers

unread,
Jul 21, 2024, 5:36:09 PM7/21/24
to chaccaumispa

I have a need to create an action that will:1. copy a selected part (selected by hand) of an image in an already opened file2. paste selection into new file3. save new file as jpg file, but not with default file name of "untitled.jpg" - instead use a unique name or use a auto-increment suffix

photoshop action save as different filename


Download Zip »»» https://bytlly.com/2zxO6f



Because the action will be run multiple times on different selections from the same image, saving each selection with a unique name or auto-incremented suffix would save the step of manually supplying the filename each time a different selection is saved.

Copy the following script in notepad, and save it in directory similar to "C:\Program Files (x86)\Adobe\Adobe Photoshop CS2\Presets\Scripts" with the extension JSX.To run the scrip in photoshop, go to File > Scripts > "Your Script".

Please help me! I use save actions for files for 4 years now without issues and lately I installed newest Photoshop. First 2 actions were fine but then a problem occured. When I create "Save as" action with high resolution and PSB formats, Photoshop saves filename of currently saved image in action script. And then, this action always overwrites next files on that one file. I tried many times to find solution and repeat recording actions again and it seems that this is random - sometimes it doesn't add filename at the end of action script, but more often it does. And I never know. And then I loose my work. I need your help please.

Heyo Agata2922245304nv!
It sounds like the issue might be with the naming convention used in your "Save As" action. When recording your action, make sure that you are specifying a unique filename for each image that you save. You can do this by either manually typing in a new name for each file, or by using the "Insert Menu Item" option in the Actions panel to insert a "Set Filename" command.

If you are already doing this and are still experiencing issues, try checking the options in the "Save As" dialog box to make sure that you have the correct settings selected for your file format and resolution. Also, make sure that you have enough free disk space available to save your files.

If you continue to experience problems with your "Save As" action, you may want to try resetting your Photoshop preferences. To do this, hold down the Alt, Shift, and Control keys (Windows) or Option, Shift, and Command keys (Mac) while starting Photoshop. A dialog box will appear asking if you want to delete the Photoshop settings file. Click "Yes" to reset your preferences.

You can know easily whether action saved hard coded name what will overwrite existing files with the same name. Expand Save step and take a look what is there, if you see filename at the end (it will contain and extension like .jpg, .png) thats what you want to avoid and you must re-record Save step.

We have had at least one other user with the same problem, they even provided a video and I couldn't work out why the filename was recorded, they didn't touch or change the filename, which is the common problem.

It worked few times with highlighted and not highlighted name of the file while saving. So not highlighted really wasn't leaving the file name trace in the photoshop action path. But just several times. And then it went back to wrong way. What i can see even if i click somewhere else or in the box with the name of the file to unhighlight the name (and i do it successfully) with my last step, pressing the button SAVE computer unprovokedly highlights name of the file in the last split of the second, and ruin my action. It is done by magic... I have no better explanation...

I was having the same issue and it was driving me crazy having to go into the finder folder and change the name in between each set of actions (which needed to be repeated multiple times). I couldn't make it not record the file name - tried recording several times with all the fixes I could find. My fix in the end, was to was to switch from a save as action to a save a copy action. This fixes the issue for me since all my base files have a different name and the save a copy function adds the word copy to the end of the file name so it wouldn't overwrite the original if you are saving in the same location as the original.

Thank you for this. All of the sudden I noticed my actions were not working properly. I didn't change anything in over a year other than update PS. The unhighlighted name was being autoreplaced with the destination folder name... The save as a copy trick worked. Thank you for figuring this out and sharing it!

I've had similar things happen and I'm not quite 100% sure of the resolution, but this is what I think may be happening. Are you opening all the images in PS, then running the action from the action menu? If so, I can understand the files all be saving as the same name because that's what is in the action.

The problem isn't just the file name. Photoshop actually shows that it's loading different files, but it somehow saves THE SAME IMAGE with the same name (with an incremented extra digit) over and over.

I realize this is almost six years later, but I found this thread while searching out this same issue I was having. It stems back to a 90 page InDesign document with linked PSDs. I then discovered that when exporting in InDesign, vector data from the PSDs is not maintained. So I went back to the PSDs to export to Photoshop PDFs with the intention of relinking in InDesign with the vector data in these PDFs. I was trying to find a good way to batch process the 90 PSD files to PDF without having to go through the SAVE AS dialog every time (as is the case with "factory" batch save to PDF action). So I recorded my own action of open/save as/close, but every time I ran the batch it saved as the same file over and over again.

Long story short, I found the answer, which is just ticking the checkbox in the batch window which is OVERRIDE ACTION "OPEN" COMMANDS. Duh. Since the Open command was already in my action, it needed to be overridden in the batch.

I work in photoshop and often save multiple versions of each final image for different uses ( RGB, CMYK jpeg etc..) I have created a batch to handle all this and the files are saved into a folder for each of the variations - the only issue I now have is renaming the files in that folder to indicate which variant it is for example add _RGB to the files in the RGB folder and _CMYK to files in the CMYK folder - What im hoping for this to happen automatically as soon as the files are saved into those folders!! I don't know if this is possible or if it involves scripts or other things??? any help appreciated.

If you have multiple of each folder, you could still do this. If it is a set of folders for each project, I think you would be spending more time building the Automator Folder Action than you would be saving time.

Although you can interactively run an Automator application or Workflow, you cannot do so with a Folder Action that expects a file dropping event to trigger it. That is why you received the warnings because no dropped file was found.

will continuously append "_Text" to the dropped filename until it exceeds the maximum file name size. So, for a dropped filename of foo.txt, it becomes foo_Test_Test_Test ... _Test.txt. This is horribly broken, and may be present on High Sierra too. Mine runs without error, but what a mess it makes of the intended filename.

I have resorted to using noodlesoft's Hazel for the time being until I can figure this out! the only problem with that is I can seem to batch rename to remove "_copy" that always. occurs when I do a batch in photoshop - if it's not one thing it's another

I'm normally quite organized and had meant to finish the editing earlier in the day, but something had come up. So I found myself hammering away in photoshop. All was going well, with 20 minutes left.

Just when I was really getting somewhere and thought "Yes! I'm going to make it" the cat decided to saunter over and make that boggle-eyed interested face at my fingers. Perhaps as I was working so fast with the mouse and keyboard, she thought it was a game of pounce.

Breaking into a cold sweat, I rebooted Photoshop and no images were there. None. I went into Lightroom, kidding myself that perhaps the editing progress was saved, but no just RAW files were sitting there. Mocking me.

Luckily I changed the preferences from saving hourly to "auto save every 5 minutes" and kept checking with every update. ln a similar situation not even a year later, a power cut struck half-way through an editing marathon. But thankfully the images I'd been working on had been automatically saved by Photoshop.

So, to prevent the same thing from happening to you (cats or no cats). Here's how you quickly turn on and check your auto-save preferences in Photoshop so you can rest assured photoshop is saving the recovery information in the background while you edit:

3. Check the box that says "Automatically Save Recovery Information Every..." and choose your recovery period. I choose 5 minutes, but you can choose the timing that works best for you (recovery does use some processing, but not too much).

I created a suite of editing tools for busy photographers like me who want to transform their images and supercharge their editing. Find out more about these photoshop actions, presets and overlays here.

This article presents scripts for not only saving a PDF file to disk, but also for saving the PDF to different formats, such as an image file, MS Word, text and even HTML. Being able to save a file to disk is a critical activity for Acrobat workflow automation, and fortunately, there are a couple ways to do this from an Acrobat script. In fact, this is a feature that has been around for a long time, so everything discussed here is valid for old versions of Acrobat as well as Acrobat XI.

e59dfda104
Reply all
Reply to author
Forward
0 new messages