Re: Getting the version of a product
Re: Getting the version of a product
- Subject: Re: Getting the version of a product
- From: "francois.houle" <email@hidden>
- Date: Mon, 28 Feb 2005 14:57:34 -0500
Yes it was... Figured out that version instead of product version worked...
Wonder why the second one is there... May be a left over from OS 9 days ?
On 2/28/05 2:00 PM, "Jake Pietrykowski" <email@hidden> wrote:
>> 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:
> ll.ca
>
> This email sent to email@hidden
--
François Houle
Customer Support ( IT Help Desk)
IST Customer Services (ICS)
McGill University
514-398-4400 ext 04528
email@hidden
-----------------------------------------------------------------
For IT support, contact email@hidden
514-398-3398
_______________________________________________
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