Problems openning files
Problems openning files
- Subject: Problems openning files
- From: "John Jones" <email@hidden>
- Date: Wed, 31 Jan 2001 09:58:45 -0500
Hello all,
I'm having a problem opening image files in Photoshop with AppleScript. The files were created on a PC and the Mac is identifying most of them as PictureViewer documents and some as just "PC document" (all have .tif extension). Here's the syntax I'm using:
tell application "Adobe. Photoshop. 6.0"
activate
open [reference]
do script [whatever]
end tell
The problem is that even though I'm telling Photoshop to open the file, if it's identified as a PictureViewer document it gets opened with PictureViewer, if it's PC document, the Finder breaks in and says the creator cannot be found. Why is the Finder getting involved here? I thought it might be a problem stemming from PC Exchange so I removed all references mapping the TIFF extension, but that didn't fix it. (BTW: I'm working with OS 9.0.4 and AppleScript 1.4.3)
I also have some general confusion about Type and Creator codes. I had always thought they were stored in the file's resource fork, but when I look at a file that I can retrieve the proper codes from with ResEdit, the resource can be completely empty.
Could someone clue me in.
Thanks,
John J.