Differentiating Classic from OS9

Mark Schonewille m.schonewille at economy-x-talk.com
Wed May 3 12:13:08 EDT 2006


Hi,

I was too quick. Even though that particular line doesn't always  
work, it doesn't harm either, if the standalone is running as a  
faceless app or launched from the command line.

Best,

Mark

> Hi Ken,
>
> This line
>
>> if the fileName of this stack contains "Contents/MacOS/" then return
>> "false"
>
> will not work of the application is running as a commawnd line  
> utility or as a faceless application.
>
> Best,
>
> Mark
>
> --
>
> Economy-x-Talk
> Consultancy and Software Engineering
> http://economy-x-talk.com
> http://www.salery.biz
>
> Salery is the easiest way to get your own web store on-line: http:// 
> www.salery.biz/salery.html
>
>
>
> Op 3-mei-2006, om 17:39 heeft Ken Ray het volgende geschreven:
>
>> On 5/3/06 7:04 AM, "revolution at duncansoftware.com"
>> <revolution at duncansoftware.com> wrote:
>>
>>>
>>>
>>>
>>>
>>> The systemversion returns 9.2.2 in both Classic (on OSX) and on a  
>>> real OS9
>>> box. I
>>>
>>> need to differentiate between them.
>>
>> Here's how to tell if Classic mode is running on the computer:
>>
> <snip>
>
>
>



More information about the use-livecode mailing list