• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Getting the file informations (under Tiger)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Getting the file informations (under Tiger)
      • From: pete boardman <email@hidden>
  • Prev by Date: Re: Creating a folder on the desktop
  • Next by Date: Re: Determining if a scripting addition is installed
  • Previous by thread: Re: Missing values and Script Editor request
  • Next by thread: Re: Getting the file informations (under Tiger)
  • Index(es):
    • Date
    • Thread