home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / C++ / Snippets / AppLauncher 1.0d0 / READ_ME < prev   
Encoding:
Text File  |  1995-10-18  |  1.4 KB  |  44 lines  |  [TEXT/ttxt]

  1. AppLauncher
  2. -----------
  3.  
  4. A small C++ macintosh application with complete source code
  5. which shows how to launch,  open with document, hide and quit 
  6. remote applications, as well as how to open a control panel from 
  7. within an application.
  8.  
  9. In detail:
  10.  
  11. How to send AppleEvents to the finder to launch an application
  12. How to send AE's to running applications to open a document
  13. How to do both of the above in the foreground/background
  14. How to send a quit AE to a running application
  15. How to 'Hide' a running process using the OSL
  16. How to open a control panel from within an application
  17.  
  18. The bulk of the code was based on that by:
  19. Peter Lewis, [ peter@kagi.com ]  (original Pascal source)
  20. Gilles Dignard, [ gdignard@hookup.net ]  (initial translation of 
  21.                                                                                                                                           the above into C++)
  22. Their original postings to 'alt.sources.mac' have been included.
  23.  
  24. #####
  25. Note:    
  26.  
  27. This code relies on the OSL and other advanced features of the
  28. System/Finder.  You really need System 7.5 and AT LEAST the
  29. 'Finder Scripting Extension' installed in order to make
  30. use of this code.  (Come-on guys, it's 1995 already!)
  31.  
  32. Also, for 'AppLauncher' to work, you need to have a copy of 
  33. 'TeachText' or 'SimpleText' somewhere on one of your drives.
  34.  
  35. Furthermore, do not delete this 'READ_ME' file!  It is used 
  36. by 'AppLauncher' to show how to open documents remotely!
  37. #####
  38.  
  39.  
  40. Andrew Nemeth
  41. ::nem(eng);
  42. aznemeng@zeta.org.au
  43. 18 Oct 94
  44.