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);