[comp.sys.mac.hypercard] Suspending and resuming Hypercard

keith@uw-apl.UUCP (Keith Kerr) (09/07/88)

I am trying to jump back and forth between HyperCard and
an application running under Allegro Common Lisp (Coral
Software).

Currently context switches between the two are made by
using OpenDeskAcc("HyperCard") and doMenu Allegro CL 1.2.1
under program control.  User mouseclicks on the relevant
window are also acceptable for switching.

When HyperCard is reactivated I want to do some processing
before reacting to any user input, but I'm not sure what
scripting command to use so that whatever card that was last
exposed will realize that it has been resumed.  From the
documentation it didn't look like the suspend and resume
commands were correct for this application, and using "suspend"
didn't land me back in my Allegro application.  I have written
a little hack using the "idle" message and polling, but what
I really need is a way for my script to tell that a Hypercard
window is now the active window.  Is there a simple, straightforward
way to do this???