Getting the file informations (under Tiger)
Getting the file informations (under Tiger)
- Subject: Getting the file informations (under Tiger)
- From: Emile Schwarz <email@hidden>
- Date: Tue, 06 Sep 2005 22:35:33 +0200
Hi all,
when running under Tiger, if you do Get Infos on a image file, you can get the
file 'dimensions', RGB / Greyscale / CMYK and so on, the profil name and last
opening date. [these informations are translated from French and can be
different in the US English domestic OS).
I used both scripts, but I do not get these properties...
tell application "Finder"
return info for (choose file)
end tell
tell application "Finder"
return properties of item 1 of front window
end tell
Why do I used these two different ways to get the informations about an item ?
Just because the returned informations are different; for example, the 'type
identifier:"public.jpeg"' appears only when you use "info for" and the comment
field appears when you ask for the properties of an item...
tell application "Finder"
return description of item 1 of front window
end tell
return: "missing value"
Any hint ?
Emile
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden