home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / mac / programm / 12818 < prev    next >
Encoding:
Internet Message Format  |  1992-07-21  |  1.2 KB

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