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: [EMAIL PROTECTED]
Web: www.tactilemedia.com

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to