Hi all.
I starting my first photoshop scripting project, so i'm a noob. I've got experience in php and mysql, so I have a bit of scripting experience.
So, here's the deal,
PS CS2
MAC OS 10.5
The full path to the image is /users/sean/Pictures/serno/IMG_7823.jpg
I tried a bunch of different methods of specifying the full path to the file, all of them seems to add /Applications/Photoshop%20...etx to the first of the path.
So I've got this, and I get Error 1233: Expected a reference to an existing File/Folder
// BEGIN CODE
var filepath = new File("IMG_7823.jpg");
open (filepath);
// END CODE
I've stripped it down, put the file in the same directory where the script exists.
Can anyone help? I'm having a terrible time with this!
Thanks in advance,
-
Chris.
File Open Error 1233: Expected a reference to an existing
File Open Error 1233: Expected a reference to an existing
Not surprisingly, the problem was with my path. Four hours to figure that out.
Embarrassing!
Moving right along...
Embarrassing!
Moving right along...