• 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
Can a script tell whether it's running in "Classic" or real OS 9
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Can a script tell whether it's running in "Classic" or real OS 9


  • Subject: Can a script tell whether it's running in "Classic" or real OS 9
  • From: Mr Tea <email@hidden>
  • Date: Thu, 31 Jan 2002 17:03:47 +0000

A straightforward problem...

I have a mail checker applet that keeps tabs on incoming mail when Outlook
Express is running in OS 9. It's a stay open app that gets launched, run,
and quit by scripts triggered from OE schedules.

But the applet hops around in the dock like a demented bunny every time it
runs if I use OE in "Classic" mode within OS X.

I'm sure there must be a simple way for a script to check if it's running in
classic or otherwise, but the will to figure it out for myself has failed
me. Any suggestions gratefully received, modular or otherwise... :-)

Ultimately, though, I'd like to see the mail checker applet run happily in
classic, rather than just shutting it out. But first I need to find out what
the heck this means:

NSreceiverevaluationscripterror: 3

...that being the error code that the applet displays when it tries to run
in classic. All I could glean from the ADC documentation was that Cocoa (the
clown) doesn't have a clue what to do.

Mr Tea
--
Brew of the day: Royal Blend


  • Follow-Ups:
    • Re: Can a script tell whether it's running in "Classic" or real OS 9
      • From: Jason Davies <email@hidden>
  • Prev by Date: Re: Problems with speed & "Info For"
  • Next by Date: Re: Can a script tell whether it's running in "Classic" or real OS 9
  • Previous by thread: Alias Behavior When Scripting...
  • Next by thread: Re: Can a script tell whether it's running in "Classic" or real OS 9
  • Index(es):
    • Date
    • Thread