file type

yves COPPE yvescoppe at
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

OK, works fine.
Thank you.


Email : yvescoppe at

More information about the use-livecode mailing list