home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / next / programm / 5986 next >
Encoding:
Internet Message Format  |  1992-09-07  |  867 b 

  1. Path: sparky!uunet!utcsri!eecg.toronto.edu!asm
  2. Newsgroups: comp.sys.next.programmer
  3. From: asm@eecg.toronto.edu (Anees Munshi)
  4. Subject: How to hide on auto-launch?
  5. Message-ID: <1992Sep4.174050.5261@jarvis.csri.toronto.edu>
  6. Date: 4 Sep 92 21:40:51 GMT
  7. Lines: 17
  8.  
  9.  
  10. I'm trying to implement something like a hide-on-auto-launch
  11. feature, so I need to detect if the application was
  12. auto-launched by the Workspace. 
  13.  
  14. I tried reading NXArgv, but discovered it is stripped by the
  15. +initialize method of the Application class.
  16.  
  17. I have read something in the Concepts doc about an NXAutoLaunch
  18. "parameter".  However, there was no further reference to it. 
  19.  
  20. I can think of some inelegant ways of finding out if the app
  21. was auto-launched, but I'd like to think there is a better way.
  22.  
  23. I'd appreciate any pointers on this one.
  24.  
  25. Thanks in advance. -Anees Munshi (asm@eecg.toronto.edu)
  26.