Save file with .psdt extension
I need to save the file with a .psdt extension
I have seen on the web and on the adobe forum but I have not found anything on this
I would like to know if it is possible
I tried this script by editing .psd with .psdt
but I have not had positive results
can someone help me?
// script
var psdoutputFolder = Folder.selectDialog("SAVE FILE .PSD");
save();
function save(){
var Name = app.activeDocument.name;
var psdsaveFile = File(psdoutputFolder + "/" + Name +".psdt");
SavePSD(psdsaveFile);
}
function SavePSD(saveFile){
psdSaveOptions = new PhotoshopSaveOptions();
psdSaveOptions.embedColorProfile = true;
psdSaveOptions.alphaChannels = true;
activeDocument.saveAs(saveFile, psdSaveOptions, true, Extension.LOWERCASE);
}
