Photoshop Javascript scripting guardar y cerrar el documento

Estoy teniendo problemas para ahorrar por alguna razón; Estoy usando Photoshop CS5.1 (si esa es realmente la causa del problema)

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

Me gustaría que el script se guarde y cierre, pero sigo recibiendo este error. Estoy usando Photoshop CS5.1 (si esa es realmente la causa del problema)

Respuestas a la pregunta(1)

Su respuesta a la pregunta