Kevin Miller <[EMAIL PROTECTED]> said, on 7/26/00 3:31 AM:
>> such a suffix), I don't have a good way of making sure that a file is
>> an image file on a Mac before trying to use it's name as the fileName
>> of my image object. Is there any way to do this?
>
>Not that I'm aware of. You might be able to do this with AppleScript in the
>Externals - does anyone know if this is possible in AppleScript and what
>would be the syntax?
set theFile to choose file --pick a file
tell application "Finder"
set theType to the file type of theFile
set theCreator to the creator type of theFile
end tell
--with paths it would be:
tell application "Finder"
set theType to the file type of file thePath
set theCreator to the creator type of file thePath
end tell
Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.