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

Re: How to attach a UI dialog to a script?

$
0
0

I try the Folder dialog but the Bridge script does not complete when using this option.

I would like to save the new tiff file  in the same directory with the stack images.

Is there a way to omit the save location path to save the tiff in the same directory as the Bridge stack images?

 

        var stackFileName = app.activeDocument.name;

        var saveFile = new File('~/desktop/pscc test/'+stackFileName+' ');

        app.activeDocument.saveAs(saveFile, tifOpts, true); 

        app.activeDocument.close(SaveOptions.DONOTSAVECHANGES);


Viewing all articles
Browse latest Browse all 27456

Trending Articles



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