• 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
Re: Getting the version of a product
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Getting the version of a product
      • From: "francois.houle" <email@hidden>
References: 
 >Re: Getting the version of a product (From: Adam Wuellner <email@hidden>)

  • Prev by Date: Re: Called script won't store property
  • Next by Date: Recording hangs
  • Previous by thread: Re: Getting the version of a product
  • Next by thread: Re: Getting the version of a product
  • Index(es):
    • Date
    • Thread