• 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 20:17:42 -0300

At 7:28 PM -0300 08/08/02, Bill Briggs wrote:
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.

That should have said.

That relied on there being a "special folder" called "system folder" and a "System" file therein, which has, as part of its "info for", a version number. 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.

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

  • Prev by Date: Re: Read File question - OS 9
  • Next by Date: Re: AppleWorks again
  • Previous by thread: Re: Checking the OS Version
  • Next by thread: Re: Read File question - OS 9
  • Index(es):
    • Date
    • Thread