Quantcast
Channel: Adobe Community : Unanswered Discussions - Photoshop
Viewing all articles
Browse latest Browse all 74445

Save a copy of the document in Desktop

$
0
0

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


Viewing all articles
Browse latest Browse all 74445

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>