Photoshop script for Momentis
So I have a script for use with a PLM called Momentis for Illustrator.
Basically what it does is takes an AI or PDF file and exports it as a jpg in one server location, a thumbnailed version of the jpg scaled down to 25% in another server location, and saves it as a pdf in a third location. All with the same name as the original file except the thumbnail with "_thumb" after the original filename.
I have been trying to adapt that script for use with Photoshop, and it has been giving me issues, so I did some google searches, and have sound some useful information, but decided instead of trying to adapt this script or trying to rewrite it myself, see since I am much more proficient at bash scripting than javascript, if someone had one that would work for this purpose, so I don't have to re-invent the wheel.
So to summarize.
Take a PSD or PDF;
Export as JPG on the server;
Export as 25% scale JPG with "_thumb" added to the name on the server;
Save PDF in the same location the AI or PDF came from.
Any help would be GREATLY appreciated, thank you!