This is a mystery to me that just keeps getting stranger. I have a script that creates a folder in a folder on the Desktop. I have tried it on 5 iMacs (all basically the same) and 1 older MacBook Pro. All users have admin access. All are running Photoshop CS6. Two of the iMacs fail to create the folders but the “.create()” returns “true”. One of the iMacs didn’t work at first but now it does. To make it even more strange, if I write the script to create the folders on a server, it works.
Can anyone explain what’s wrong here? What would prevent it from creating a folder on some computer's internal startup drives and not others?
Here is the simplified part of my script:
var CurrentDLPFilePath = "~/Desktop";
var DLPFolder = new Folder (CurrentDLPFilePath + "/TestFolder");
var DLPSEPSFolder = new Folder (DLPFolder + "/SEPS/");
I would boot from a CD and run disk utility. Repairing permissions and repairing disk.
What kind of free space do they have?
There's plenty of free space. I'll try Repairing Permissions when I get a chance.
So, I logged in as Administrator on one of the "troublesome" computers. My simple script (above) worked. A coworker logged in with their user account (which is set as an Admin). The script ran, returned "True" on the alert() line, but did not create a folder.
I'm just baffled.