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 : [EMAIL PROTECTED]
_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to