An action to export a Photoshop document with file name intact
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.
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.