Welcome Dialog

Welcome to the Community!

We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.


Action to Save As in the same folder

Participant ,
Dec 31, 2017 Dec 31, 2017

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

TOPICS
Actions and scripting

Views

7.0K

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Community Professional , Dec 31, 2017 Dec 31, 2017
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

Likes

Translate

Translate
Adobe Community Professional ,
Dec 31, 2017 Dec 31, 2017

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

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Dec 31, 2017 Dec 31, 2017

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!

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Jan 01, 2018 Jan 01, 2018

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

 

Prepression: Downloading and Installing Adobe Scripts

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jan 01, 2018 Jan 01, 2018

Copy link to clipboard

Copied

Thank you so much for that and I will definitely try it!

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 29, 2021 Jan 29, 2021

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.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Jan 29, 2021 Jan 29, 2021

Copy link to clipboard

Copied

LATEST

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.

 

notfound.png

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines