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

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

  • Prev by Date: how to check whehter a application is active or not and the frontmost application
  • Next by Date: Re: how to check whehter a application is active or not and the frontmost application
  • Previous by thread: Re: Determining OS Version
  • Next by thread: Re: Determining OS Version
  • Index(es):
    • Date
    • Thread