Take the 2-minute tour ×
Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. It's 100% free, no registration required.

Is there a way to export a document in Photoshop using an action that would preserve the file name? Example: I have a document called Home.psd. I'd like to run an action, and it would create a Home.png in some specified location, like the Desktop. I can do all of this pretty easily by recording the action, except to set the save destination and file type, I must enter a name.

share|improve this question
    
You might want to take a look at this ( newest foles can be found in github ): graphicdesign.stackexchange.com/questions/16915/… The only big difference is that it saves .psd. it wouldn't be difficult to change it to save a png instead... or additionally –  Joonas Apr 19 '13 at 5:54
    
...and I love you too, man. –  Joonas Apr 19 '13 at 6:25
    
Thanks! I ended up editing his script to make my own: github.com/edwardloveall/Photoshop-Export-PSD-script What's proper etiquette for posting it somewhere? Should I comment on plainclothes' answer to link to this or make my own answer? –  Edward Loveall Apr 20 '13 at 16:15
    
Since it is what you were looking for, posting it as an answer would be a good thing. –  Joonas Apr 20 '13 at 16:30
add comment

2 Answers 2

If you want to be completely hands-off I believe you need a script.

If you had a lot of files to process, you could batch the action and automate the name and destination there. But that still requires your intervention at the start.

share|improve this answer
add comment
up vote 2 down vote accepted

I ended up making my own script based on advice from plainclothes and a link from Joonas

You can find the script here: https://github.com/edwardloveall/Photoshop-Export-PSD-script

By default, it saves to the Desktop, but just edit the line

var desktop               = '~/Desktop';

to change the destination.

share|improve this answer
    
Don't forget to mark your answer as accepted if your solution fixed the problem. –  Johannes Apr 20 '13 at 17:53
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.