Detecting classic mode under OSX?

MIYAKO (10/31/08 10:57PM)
MIYAKO (10/31/08 11:00PM)


MIYAKO (10/31/08 10:57 PM)

not the most elegant way to do things but,

I suppose you could run an applescript

tell app "system events"

set pp to processes whose name is "4th Dimension"

if (count pp) is not 0 then return classic of item 1 of pp

end tell

miyako

On 2008/10/31, at 22:36, Nick Middleweek [4D] wrote:

Hi,

Is it possible to detect whether 4D 2003.8 is running within classic

mode under OSX?

PLATFORM PROPERTIES is returning OS 9 but I'm trying to detect the

difference between:

* OSX

* OS9

* OS9 running in classic on OSX.

Is this achievable?

Thanks,

Nick

MIYAKO (10/31/08 11:00 PM)

how about testing one of the constants in system folder ?

miyako

On 2008/10/31, at 22:57, MIYAKO wrote:

not the most elegant way to do things but,

I suppose you could run an applescript

tell app "system events"

set pp to processes whose name is "4th Dimension"

if (count pp) is not 0 then return classic of item 1 of pp

end tell

miyako

On 2008/10/31, at 22:36, Nick Middleweek [4D] wrote:

Hi,

Is it possible to detect whether 4D 2003.8 is running within classic

mode under OSX?

PLATFORM PROPERTIES is returning OS 9 but I'm trying to detect the

difference between:

* OSX

* OS9

* OS9 running in classic on OSX.

Is this achievable?

Thanks,

Nick

Reply to this message

Summary created 10/31/08 at 10:25AM by Intellex Corporation

Comments welcome at: feedback@intellexcorp.com