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

Re: Checking the OS Version


  • Subject: Re: Checking the OS Version
  • From: Bill Briggs <email@hidden>
  • Date: Thu, 8 Aug 2002 19:28:32 -0300

At 5:49 PM -0400 08/08/02, Marc K. Myers wrote:
> How do I determine what OS the script is running under? The delineations
can just be "Is it 10?", if that's what I can get.

I don't know if this works under OS X, but it gets you the system
version under earlier versions:

short version of (info for file ((((path to system folder) as text)) & "System"))

The result is a string.

That relied on there being a "special folder" called "system folder" and a "System" file therein, which has part of its "info for". Completely different paradigm in X and analogous structures don't exist.

- web
_______________________________________________
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.

  • Follow-Ups:
    • Re: Checking the OS Version
      • From: Bill Briggs <email@hidden>
References: 
 >Re: Checking the OS Version (From: "Marc K. Myers" <email@hidden>)

  • Prev by Date: Re: osascript, root vs other users
  • Next by Date: Re: osascript, root vs other users
  • Previous by thread: Re: Checking the OS Version
  • Next by thread: Re: Checking the OS Version
  • Index(es):
    • Date
    • Thread