由于某种原因,我无法保存; 我使用的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运行? –