file type
Scott Rossi
scott at tactilemedia.com
Thu Mar 20 02:37: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,
Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
Email: scott at tactilemedia.com
Web: www.tactilemedia.com
More information about the use-livecode
mailing list