Re: Checking the OS Version
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.