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

  1. Newsgroups: comp.os.os2.programmer
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!linac!uchinews!ellis!sip1
  3. From: sip1@ellis.uchicago.edu (Timothy F. Sipples)
  4. Subject: Re: Minimizing window with REXX
  5. Message-ID: <1992Dec17.231020.5734@midway.uchicago.edu>
  6. Keywords: minimize, rexx
  7. Sender: news@uchinews.uchicago.edu (News System)
  8. Reply-To: sip1@midway.uchicago.edu
  9. Organization: Dept. of Econ., Univ. of Chicago
  10. References: <burkley.724353692@nosc.mil>
  11. Distribution: usa
  12. Date: Thu, 17 Dec 1992 23:10:20 GMT
  13. Lines: 30
  14.  
  15. In article <burkley.724353692@nosc.mil> burkley@nosc.mil (Joe Burkley) writes:
  16. >I have a little application that has no need to run in an open window, but
  17. >I can't use start /min to run it.  It is a rexx program that calls some
  18. >os2 exe code.  Right now I have the rexx code call itself like this
  19. >Original invocation: "example"
  20. >then the program parses the startup arguments and calls itself with
  21. >start /min example run_me
  22. >where the "run_me" parameter is used to check whether this is the first or
  23. >second invocation of the program.
  24. >This works OK, but isn't very clean.  So back to my question, is there a
  25. >way for a rexx program to cause itself to be minimized?
  26.  
  27. Is there something in Visual REXX that you might use?  (Visual REXX is
  28. available via anonymous ftp from software.watson.ibm.com.)
  29.  
  30. >A second question.  The os/2 applicaiton my rexx code starts likes to throw a 
  31. >lot of garbage to the screen.  Currently I redirect the output to a file and
  32. >then delete the file.  Can a redirect it to a null file?
  33.  
  34. Sure.
  35.  
  36. Just use:
  37.  
  38. PROGRAM > NUL
  39.  
  40. -- 
  41. Timothy F. Sipples      | Read the OS/2 FAQ List 2.0h, available from
  42. sip1@ellis.uchicago.edu | 128.123.35.151, anonymous ftp, in /pub/os2/all/info
  43. Dept. of Econ., Univ.   | /faq, or from LISTSERV@BLEKUL11.BITNET (send "HELP")
  44. of Chicago, 60637       | [Read the List, THEN post to ONE OS/2 newsgroup.]
  45.