Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting the version of a product



On Mon, 28 Feb 2005 11:34:37 -0500, francois.houle
<email@hidden> wrote:
> Hi all,

Hello,

> I saw in the Finder's AS dictionary that you can check for the version of a
> product... I just can't figure out how to ge tit to work.
> The line of the dictionary is:
> product version  Unicode text  [r/o]  -- the version of the product (visible
> at the top of the ³Get Info² window)
> And its located under Class File : A File

tell application "Finder"
	set theFile to file (choose file)
	get theFile's product version
end tell

NB: I have not seen a file for which that property's value is other than "".
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden

This email sent to email@hidden

References: 
 >Getting the version of a product (From: "francois.houle" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.