🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #2930

Re: Minimizing window with REXX

#2930
From: Timothy F. Sipples
Date: Thu, 17 Dec 1992 23:10
30 lines
1924 bytes
In article <burkley.724353692@nosc.mil> burkley@nosc.mil (Joe Burkley) writes:
>I have a little application that has no need to run in an open window, but
>I can't use start /min to run it.  It is a rexx program that calls some
>os2 exe code.  Right now I have the rexx code call itself like this
>Original invocation: "example"
>then the program parses the startup arguments and calls itself with
>start /min example run_me
>where the "run_me" parameter is used to check whether this is the first or
>second invocation of the program.
>This works OK, but isn't very clean.  So back to my question, is there a
>way for a rexx program to cause itself to be minimized?

Is there something in Visual REXX that you might use?  (Visual REXX is
available via anonymous ftp from software.watson.ibm.com.)

>A second question.  The os/2 applicaiton my rexx code starts likes to throw a 
>lot of garbage to the screen.  Currently I redirect the output to a file and
>then delete the file.  Can a redirect it to a null file?

Sure.

Just use:

PROGRAM > NUL

-- 
Timothy F. Sipples      | Read the OS/2 FAQ List 2.0h, available from
sip1@ellis.uchicago.edu | 128.123.35.151, anonymous ftp, in /pub/os2/all/info
Dept. of Econ., Univ.   | /faq, or from LISTSERV@BLEKUL11.BITNET (send "HELP")
of Chicago, 60637       | [Read the List, THEN post to ONE OS/2 newsgroup.]
Technical Details
Message-ID: <1992Dec17.231020.5734@midway.uchicago.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!linac!uchinews!ellis!sip1
References: <burkley.724353692@nosc.mil>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!linac!uchinews!ellis!sip1
From: sip1@ellis.uchicago.edu (Timothy F. Sipples)
Subject: Re: Minimizing window with REXX
Message-ID: <1992Dec17.231020.5734@midway.uchicago.edu>
Keywords: minimize, rexx
Sender: news@uchinews.uchicago.edu (News System)
Reply-To: sip1@midway.uchicago.edu
Organization: Dept. of Econ., Univ. of Chicago
References: <burkley.724353692@nosc.mil>
Distribution: usa
Date: Thu, 17 Dec 1992 23:10:20 GMT
Lines: 30