Quantcast
Channel: Adobe Community: Message List - Photoshop Scripting
Viewing all articles
Browse latest Browse all 27456

Re: combine "Save As" with suffix for file's name

$
0
0

Do you want to just select a folder with the UI to put all the files in or do you want to have the save as dialog box come up each time you save a file or both?  To have the saveas dialog box appear, you just do something like this:

 

var docRef = activeDocument;

var jpgOptions = new JPEGSaveOptions();

jpgOptions.quality = 8

 

app.displayDialogs = DialogModes.ALL;//turns on dialog box

docRef.saveAs (new File('filepath_and_name'), jpgOptions)

app.displayDialogs = DialogModes.NO;//turns off dialog box


Viewing all articles
Browse latest Browse all 27456

Trending Articles



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