I found a script that saves the current selected document in Photoshop as .png to the Desktop, and use it all the time.
function main() {
// declare local variables
var doc = app.activeDocument;
var docName = app.activeDocument.name.slice(0,-4);
var saveFile = new File("~/Desktop/" + docName + ".png");
pngSaveOptions = new PNGSaveOptions();
pngSaveOptions.interlaced = false;
doc.saveAs(saveFile, pngSaveOptions, true, Extension.LOWERCASE);
}
main();
Now I'd really like a similar script to do "Save for Web" as .jpg files, without a colour profile, to the Desktop. Preferably a version to save as 100% quality and one to save as 60% quality.
Any help would be greatly appreciated.