• 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: Testing for OS version
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Testing for OS version


  • Subject: Re: Testing for OS version
  • From: has <email@hidden>
  • Date: Tue, 20 Dec 2005 16:21:40 +0000

Matthew Smith wrote:

>How about:
>
>get system version of (system info)

OS 10.4+ only, I think. Simplest for the OP's purposes is probably:

    set isPreTiger to (system attribute "sysv") < 4160

Or to get the OS version as string:

    do shell script "sw_vers -productVersion"

has
--
http://freespace.virgin.net/hamish.sanderson/
 _______________________________________________
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

  • Prev by Date: Re: Check Server Availability
  • Next by Date: Re: Check Server Availability
  • Previous by thread: Re: Testing for OS version
  • Next by thread: Re: Best way to test for OS version
  • Index(es):
    • Date
    • Thread