I want to write a script for Photoshop that save the files. But I don't know how to set the destiny folder. Please, help.
app.activeDocument.save()
ExportOptionsSaveForWeb.format - SaveDocumentType.JPEG;
ExportOptionsSaveForWeb.quality = 40;
ExportOptionsSaveForWeb
app.exportDocument (exportIn, exportAs, options)
It's probably easier not to use the export for web options:
Just set myfilePath to be what ever you want (C:\myfolder\myfile.jpg)