home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / os2 / programm / 6998 < prev    next >
Encoding:
Text File  |  1992-12-14  |  1.3 KB  |  33 lines

  1. Newsgroups: comp.os.os2.programmer
  2. Path: sparky!uunet!gatech.edu!news.byu.edu!hamblin.math.byu.edu!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!uwm.edu!spool.mu.edu!agate!dog.ee.lbl.gov!news!cod!burkley
  3. From: burkley@nosc.mil (Joe Burkley)
  4. Subject: Minimizing window with REXX
  5. Message-ID: <burkley.724353692@nosc.mil>
  6. Keywords: minimize, rexx
  7. Sender: usenet@nosc.mil (Network News)
  8. Organization: Naval Ocean Systems Center, San Diego, CA
  9. Distribution: usa
  10. Date: Mon, 14 Dec 1992 17:21:32 GMT
  11. Lines: 20
  12.  
  13. I have a little application that has no need to run in an open window, but
  14. I can't use start /min to run it.  It is a rexx program that calls some
  15. os2 exe code.  Right now I have the rexx code call itself like this
  16.  
  17. Original invocation: "example"
  18. then the program parses the startup arguments and calls itself with
  19. start /min example run_me
  20.  
  21. where the "run_me" parameter is used to check whether this is the first or
  22. second invocation of the program.
  23. This works OK, but isn't very clean.  So back to my question, is there a
  24. way for a rexx program to cause itself to be minimized?
  25.  
  26. A second question.  The os/2 applicaiton my rexx code starts likes to throw a 
  27. lot of garbage to the screen.  Currently I redirect the output to a file and
  28. then delete the file.  Can a redirect it to a null file?
  29.  
  30.                 -Joe Burkley
  31.  
  32.                 burkley@opus.nosc,mil
  33.