Re: Getting the version of a product
Re: Getting the version of a product
- Subject: Re: Getting the version of a product
- From: Jake Pietrykowski <email@hidden>
- Date: Mon, 28 Feb 2005 13:00:24 -0600
>On 2/28/05 11:29 AM, "Adam Wuellner" wrote:
>> 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 "".
Try this...
--code
tell application "Finder"
set theFile to file (choose file)
get version of theFile
end tell
--/code
Perhaps this is what you desire?
Regards,
Jake
_______________________________________________
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