file type
yves COPPE
yvescoppe at skynet.be
Thu Mar 20 03:06:01 EST 2003
>Recently, yves COPPE wrote:
>
>> a macintosh question :
>>
>> I have a script which build the path to a file (an image)
>> I get something like "Macintosh HD/.../.../imageName"
>>
>> Since on the mac there are files without extensions (.xxx)
>> how can I check in the script if the image is a jpg file type ??
>
>One way:
>
>1) get the detailed file list of the directory where the JPEG is stored
>
>2) extract the creator/type info (item 11) from the line containing your
>file
>
>Regards,
>
OK, works fine.
Thank you.
--
Greetings.
Yves COPPE
Email : yvescoppe at skynet.be
More information about the use-livecode
mailing list