I'm trying to save a file to a folder on my F drive with this code (CS3):
docRef.saveAs(new File("/F/temp/TargaTest.tga",tgaSaveOptions,false));
and I get this error:
Error 8800: General Photoshop error occured. This functionality may not be available in this version of Photoshop. - Could not save as "C:\F\temp\TargaTest.tag" because the file could not be found.
Notice how it stuck the C: at the front? Why is that happening? The only way I can get it to save at all is to not specify a drive. With "/temp/TargaTest.tga", the file gets saved in C:/temp (but as a .psd instead of .tga - any thoughts on that?).
I get the same results if I set the script up to let me navigate to a folder and then try it this way:
docRef.saveAs(new File(outputFolder +"/" + "TargaTest.tga",tgaSaveOptions,false));
- it will still add the C: at the front. Grrr..
Dan