Re: Determining OS Version
Re: Determining OS Version
- Subject: Re: Determining OS Version
- From: John Baltutis <email@hidden>
- Date: Mon, 25 Jan 2010 00:04:54 -0800
On 1/24/10, Marconi <email@hidden> wrote:
>
> Answers thus far have mostly missed the point. I do not need to
> determine, programatically, the OS version being run. I want to do
> this for bootable volumes dropped onto my droplet. I may be running
> 10.5.8 on my workstation (I am) but if I have mounted a volume with
> 10.3.9 installed, I want the droplet to show 10.3.9, among other
> things, when I drag that volume to it.
Opppss! Sorry. the SystemVersion.plist from Tiger and later (don't know about
Jaguar and Panther) does have that info and this will get you:
do shell script "defaults read /Volumes/"volume
name"/System/Library/CoreServices/SystemVersion | grep ProductVersion"
->" ProductVersion = \"10.6.3\";"
which you can parse. Good luck with getting the name,partitioning scheme, and
computer type.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden