Hi
I am trying to use the saveAs function to just save the actual file in the my desktop. but I do not want to convert anything.
the saveAs function ask for a saveOptions where we can configure the saveas options.
I just want the openned file to be copied to my Desktop.
follow my actual code:
saveFile = new File( "~/Desktop/" + app.activeDocument.name)
saveOptions = new JPEGSaveOptions();
saveOptions.embedColorProfile = true;
saveOptions.formatOptions = FormatOptions.STANDARDBASELINE;
saveOptions.matte = MatteType.NONE;
saveOptions.quality = 5;
app.activeDocument.saveAs(saveFile, saveOptions, true,Extension.LOWERCASE);
But this code alter the actual file.
If i Open a tiff and use this script it will save a jpeg... I do not to change the opened file. Just copy it to my Desktop
Best Regards