What's new
Photoshop Gurus Forum

Welcome to Photoshop Gurus forum. Register a free account today to become a member! It's completely free. Once signed in, you'll enjoy an ad-free experience and be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Renaming file whitin an action


Scat

New Member
Messages
4
Likes
0
That's my first post in this Forum, I hope it will be not redundant. Dispite of my researches and tests, I haven’t found yet a satisfactory solution.
I’m used to work with action (bundles of actions) to create different versions of the same image. Currently I save each of them in different folders. And then I rename all files according their usage (folder by folder). Finally I gather all images in the same folder from which they have to be accessible.
Result:
MyPix_th.jpg
MyPix_s.jpg
MyPix_m.jpg
MyPix_r.jpg
MyPix_l.jpg
MyPix_low72.jpg
MyPix_HI300.jpg
MyPix_HI300.tif
….

What I would like to do is exactly the same thing but in one run, within the same action.
e.g.: treatment 1, rename and save, revert treatment 2, rename and save….
Obviously I could insert a toggle dialog and type the suffix, but is not a good way to save time when you rework hundreds of images.

Many thanks,

Scat
 
Wow, just thinking out loud because I'm not a big user of actions.
You're showing 8 file types so I'll assume we're talking about 8 actions.
Right now action 1 takes the file MyPix.raw runs and creates MyPix_th.jpg and drops it in Folder 1
Action 2 takes the file MyPix.raw runs and creates MyPix_s.jpg and drops it in Folder 2, etc., etc.,

And you're manually running these actions one at a time, am close so far?
 
Need a bit more clarification here.

I could be missing something, but if you have all the unprocessed images in the same folder then it should be easy to do, as long as you always want each step saved into the same folder.

If each time you run the action you need them saved to different folders then it gets more complicated.

If you record the export (Save as... or Save for Web and Devices...) after each step and export the images to the proper folder, when you run the action as a Batch on the unprocessed folder of images it should save each one to the proper folder.

If there's more to it and I'm missing something please fill me in.
 
First thank you for your answer. I’m sorry if I didn’t make myself clear. Actually all images are in the same folder and need to be saved in deferent formats and deferent dimensions. So basically my action, after several corrections, creates a snapshot, resize the picture to the size 1 and save it in the folder 1, then go back to snapshot (the corrected version) resizes it to the size 2 and save it in the folder 2, and so on. This action is launched by a batch command.
At the end I have around ten different versions of the same photograph in ten different folders. At that stage each of them has the same name. Therefore they can’t be gathered in same folder. Using a renamer software, I add a specific suffix by version. Thus the images can be identified (_th: thumbnail, _s: small…. ) and moved in a single folder.
Then I can easily import my images into our web database.

So what I would like, is to resize, rename and save each image in the same folder without any “manual” intervention.
It is not because I'm lazy, but when you have to process and manage several thousands of file, each minute you can save counts!

Thanks
 
Ok, I see what you mean now.

Try this:

Create one action for each processing/saving step. Include a suffix to each name when you save the files when recording the actions.

Create a new action that plays each action in sequence, then use Automate --> Batch with the new action.

If that doesn't work let me know.
 
What you are trying to do can not be done by actions alone! You need a script to do this!
Here is the bare bones that should get you going. You will have to amend the script to put the correct ActionName and ActionSet for each section...
Use ExtendScript Toolkit to do the editing. This is the supplied Adobe integrated development environment
This can be found:-
PC: C:\Program Files\Adobe\Adobe Utilities
MAC: <hard drive>/Applications/Utilities/Adobe Utilities
 

Attachments


Back
Top