Save error 8800 on some computers but not others

Anyone, especially newbies, asking for help with Photoshop Scripting and Photoshop Automation - as opposed to those contributing to discussion about an aspect of Photoshop Scripting

Moderators: Tom, Kukurykus

sak1364

Save error 8800 on some computers but not others

Post by sak1364 »

I am setting up a script on 5 similar Macs in the office. All are running Mavericks and Photoshop CS6. The script works just fine on 2 of the Macs. But on 2 others (haven’t tried the 5th yet) the script crashes with the 8800 General Photoshop error.

It executes this line:
Code: Select all    var psdFile = new File(DLPFolder+"/"+UserInputFilename+".psd");

Then it says the error is on this line while saving as a Photoshop file:
Code: Select all    app.activeDocument.saveAs (psdFile, PhotoshopSaveOptions, false, Extension.LOWERCASE);

Does anyone have any ideas why this would happen on 2 of the Macs? I could accept it if it was on all of them.

Thanks

Professional AI Audio Generation within Adobe Premiere Pro - Download Free Plugin here

sak1364

Save error 8800 on some computers but not others

Post by sak1364 »

ADDITIONAL INFO:
I tested the script on my computer using Photoshop CS5 and it worked just fine.

I'm still hoping someone has ideas to help.
I've determined that the problem is not with the saveAs statement. Earlier the script creates 2 folders where the files get saved. These folders aren't getting created. Here is the code for creating the 2 folders (1 folder goes inside the other). For testing purposes, "CurrentDLPFilePath" is set to "~/Desktop", so I'm confident that is not causing a problem.

Code: Select all      var DLPFolder = new Folder (CurrentDLPFilePath + "/" + CurrentDLPFile.name);
      var DLPSEPSFolder = new Folder (DLPFolder + "/SEPS/");   
==>   DLPFolder.create(); 
==>   DLPSEPSFolder.create(); 
      CurrentDLPFile.resizeCanvas(11.73,5.97); 
      CurrentDLPFile.flatten();                         
      var psdFile = new File(DLPFolder+"/"+UserInputFilename+".psd");
==>   app.activeDocument.saveAs (psdFile, PhotoshopSaveOptions, false, Extension.LOWERCASE);
      activeDocument.splitChannels ()


The 2 “create()” lines are not doing anything on the computers that fail. But those lines do work on the good computers. So why would some computers not work?