由於某種原因,我無法保存; 我使用的Photoshop CS5.1(如果這真的是問題的原因)Photoshop Javascript腳本保存和關閉文檔
error 8800: General Photoshop error occurred.
This functionality may not be available in this version of Photoshop.
Could not save a copy as C:\...\Temp001.jpeg0011338281522"
because the file could not be found
var thistimestamp = Math.round(new Date().getTime()/1000);
saveFile = new File("/Users/Barny/My Pictures/Temp001" +thistimestamp+ ".jpeg")
saveOptions = new JPEGSaveOptions();
saveOptions.embedColorProfile = true;
saveOptions.formatOptions = FormatOptions.STANDARDBASELINE;
saveOptions.matte = MatteType.NONE;
saveOptions.quality = 9;
app.activeDocument.saveAs(saveFile, saveOptions, true,Extension.LOWERCASE);
我想腳本保存並關閉,但我不斷收到這個錯誤。我使用的是Photoshop CS5.1(如果確實是問題的原因)
在什麼情況下是你的JS運行? –