Re: file type
Re: file type
- Subject: Re: file type
- From: Ric Phillips <email@hidden>
- Date: Thu, 13 Sep 2001 10:24:12 +1000
On 13/9/01 9:28 AM, "Andrew Simpson" <email@hidden> wrote:
>
does anybody know what file type a Photoshop eps image is considered as
>
within an Apple Script.
>
>
file information about the file is Photoshop R EPS file
>
>
ive tried the following but to no avail...
>
>
EPS
>
Photoshop
>
photoshop EPS
>
Image
No idea, but what I'd do is save one, then say its reference (eg, 'file
:MacHD:Desktop Folder:samplefilename" ' ), in the following code is
'<<fref>>',
tell app "finder"
get the file type of <<fref>>
end tell
And look at the result - which will tell you what the finder's file type is
for that file. Works with 'get the creator type of...' (or any other
readable prooperty of a finder object) also.
For specs on properties for the Finder's document-file objects, start at
page 60 of the Apple Script Finder Guide. (You can get it in PDF from
Apple's web site.)
Cheers,
Ric Phillips
Computer Laboratory Support Officer
Faculty of Humanities and Social Sciences
La Trobe University
9479 2792
References: | |
| >file type (From: Andrew Simpson <email@hidden>) |