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

Re: OS version?


  • Subject: Re: OS version?
  • From: "Charles Arthur, UKClimbing Editor" <email@hidden>
  • Date: Wed, 14 May 2003 23:13:32 +0100

At 11:05 am -0700 14/5/03, Rob Jorgensen <email@hidden>

At 6:58 PM +0200 5/14/03, Emmanuel replied to:
How do I get the version (10.2.6) of my OS?

set foo to do shell script "sw_vers"
set vers to paragraph 2 of foo

Yup, going well..

set oldDelims to AppleScript's text item delimiters

Naah. Wrong direction.

set theversion to do shell script "sw_vers"
set thebuild to word 2 of paragraph 3 of theversion
set theos to word 2 of paragraph 2 of theversion
{thebuild, theos}
--OMM: {"6L29", "10.2.5"} .. waiting for an OS update rather than bug-fix of 10.2.7

Charles
--
http://www.ukclimbing.com : 1,000+ British crags, 350+ British climbing walls
- searchable by distance rock type, etc, with 5-day weather forecasts for every one - plus maps, articles, news, and the New Routes database. There's even a cool shop attached...
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.
  • Prev by Date: Printing from FileMaker as an attachment using Apple Script...Sound Interesting?
  • Next by Date: RE: Printing from FileMaker as an attachment using Apple Script.. .Sound Interesting?
  • Previous by thread: Re: OS version?
  • Next by thread: Re: OS version?
  • Index(es):
    • Date
    • Thread