Copy link to clipboard
Copied
Hi,
I was Googling this and couldn't find the answer.
Before I explain, I'm not trying to use Droplets, Batch convert, etc. I want to use the Actions panel only. There's a reason for that, based on my workflow.
So let's say I open a file (inside the location ABC), work on it and I just want to create a JPG version, keeping it in the same folder as the PSD (ABC) and keeping the same name. Right now, if I do it, the Action saves that specific location (ABC), that means that if I open another PSD in a totally different location (location DEF) and run that Action, the JPG will be saved in the first location (ABC) and not inside DEF.
Is it possible to avoid the location parameter at all?
Thank you
Is it possible to avoid the location parameter at all?
No, it's not. Actions always store absolute references. Only batch processing can override file operations. So there you have it. You have to leave it out from the action and save manually.
Mylenium
Where actions have limitations, a script can usually achieve the desired result.
An action can record the location of an installed or browsed script and then execute the script as an action step.
Such a script can be found below, that way you only need one action, that will save into the source folder.
Action to save as Jpeg in origin image folder
Copy link to clipboard
Copied
Is it possible to avoid the location parameter at all?
No, it's not. Actions always store absolute references. Only batch processing can override file operations. So there you have it. You have to leave it out from the action and save manually.
Mylenium
Copy link to clipboard
Copied
Thanks.
I wish they could include that as an option or at least it would be great if, after saving a certain step inside an action, we could just go and delete some stuff inside, like for example the location part inside the Save As step.
I just found a way to workaround it for my workflow. I created different folders (Folder 1, Folder 2, etc) and had to make the same action several times, but having it saved to each different folder. It took me a while, but since I'm going to do it 365 days (once a day for a year), it's worth the time
Thanks for your reply!
Copy link to clipboard
Copied
Where actions have limitations, a script can usually achieve the desired result.
An action can record the location of an installed or browsed script and then execute the script as an action step.
Such a script can be found below, that way you only need one action, that will save into the source folder.
Action to save as Jpeg in origin image folder
Copy link to clipboard
Copied
Thank you so much for that and I will definitely try it!
Copy link to clipboard
Copied
This is actually possible using undocumented functionality. Simply put, if a Photoshop action stores a reference to a destination that does not actually exist, it will instead use the PSD's parent folder.
Copy link to clipboard
Copied
That is correct, however, I have had intermittent success with this technique depending on how the path is originally recorded and how it becomes unrecognised/invalid (writable disk image, USB memory stick etc).
Here I have recorded an action in Windows (upper section). When loaded into a Mac, the path is invalid and it will save as to the open image's source directory.
Copy link to clipboard
Copied
Wow! What an incredible solution. Thank you.
Copy link to clipboard
Copied
im was also facing the same issue, got a solution for that which works for me.
go to file,automate,batch, choose your folder for the action to applied and than choose your action to apply and add destination folder and add overide action
that will work