Hi all!
I have a javascript file that I use in Illustrator to export a collection of jpegs, and then open those images in Photoshop to be resized. This all worked great in CS5, but when we swapped over to CS6 the images no longer open up in Photoshop. We are using Photoshop 64-bit and Illustrator 64-bit on a Windows 7 system.
Here is the code that worked in CS5:
//gets the name of the jpg to open openFile = new File(this.base_path +"/"+ this.prefix + connector + ex +fileType) photoshop.open(File(openFile));
Seems like it should be pretty straightforward, not sure what could be causing the issue. I put alerts on either side of the line, and photoshop.open is the line that breaks it. I have tested it with a if (openFile.exists) condition to make sure the file path was correct, and it would throw an alert confirming it existed, but anything after that was cut out. Did the syntax for opening a file in Photoshop change from CS5 to CS6? Any help is appreciated!