Re: OS version?
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.