Can't read text from file on OS 9

Jesse Sng jsng at wayoflife.org
Tue Sep 28 15:37:16 EDT 2004


Hi,

>Good idea. I just tried it, and under OS X there is a process called 
>"Classic Support". I suspect this doesn't run in OS 9, so maybe 
>checking for that would tell you if you are in OS X.
>
>--
>Jacqueline Landman Gay         |     jacque at hyperactivesw.com
>HyperActive Software           |     http://www.hyperactivesw.com

Actually to think outside of the box, ALL you need to do is to detect 
ANY essential lower level process that can be found ONLY in OS X but 
will not be found in OS 9.

Examples are the Window Server or /System/Library/Core/pbs (pasteboard).

If you really need to check for classic then you will have to look 
for the string "TruBlueEnvironment" when the list of processes is 
returned to you.


Jesse


More information about the use-livecode mailing list