home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!ut-emx!ccwf.cc.utexas.edu
- From: mmigdol@ccwf.cc.utexas.edu (michael a migdol)
- Newsgroups: comp.sys.mac.programmer
- Subject: Posting non-high level events to other applications
- Message-ID: <76295@ut-emx.uucp>
- Date: 21 Jul 92 13:59:07 GMT
- References: <76243@ut-emx.uucp>
- Sender: root@ut-emx.uucp
- Distribution: na
- Organization: The University of Texas at Austin, Austin TX
- Lines: 18
-
- [I'm clarifying my question a little bit...the one reader who responded didn't
- understand what I meant...]
-
- I've got a fortran program which pretty much takes control of the mac until
- it's done executing. (The menus disappear, and the program's IO occurs in a
- single window that takes up the whole screen). I'd like to execute this program
- from within another program that I'm writing and send it a series of Keypressed
- events. This leads to two main questions:
-
- 1) After I launch the fortran program (specifying that my program is to continue
- running after its' launched), how do I put events in the fortran program's
- queue?
-
- 2) Having done that, is it just a simple matter of using the SetFrontProcess
- trap to switch control to the Fortran app?
-
- Thanks in advance!
- -Michael
-