• 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: "Marc K. Myers" <email@hidden>
  • Date: Thu, 08 Aug 2002 17:49:33 -0400
  • Organization: [very little]

> Subject: Checking the OS Version?
> To: email@hidden
> From: email@hidden
> Date: Thu, 8 Aug 2002 10:39:26 -0700
>
> I know that this is possible, because I recall seeing the code somewhere,
> but now I can't find it.
>
> 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.

Marc K. Myers <email@hidden>
http://AppleScriptsToGo.com
4020 W.220th St.
Fairview Park, OH 44126
(440) 331-1074

[8/8/02 5:48:49 PM]
_______________________________________________
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>
  • Prev by Date: Photoshop 7: Display Dialogs to Never ERROR
  • Next by Date: Re: Read File question - OS 9
  • Previous by thread: Photoshop 7: Display Dialogs to Never ERROR
  • Next by thread: Re: Checking the OS Version
  • Index(es):
    • Date
    • Thread