home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / os2 / programm / 4736 < prev    next >
Encoding:
Text File  |  1992-09-04  |  1.6 KB  |  36 lines

  1. Newsgroups: comp.os.os2.programmer
  2. Path: sparky!uunet!newsgate.watson.ibm.com!yktnews!admin!watson!
  3. From: cnadler@vnet.ibm.com (Cliff Nadler)
  4. Subject: Re: WPS Program objects from cmd, Rexx, or C
  5. Sender: @watson.ibm.com
  6. Message-ID: <1992Sep04.145541.51099@watson.ibm.com>
  7. Date: Fri, 04 Sep 92 14:55:41 GMT
  8. News-Software: IBM OS/2 PM RN (NR/2) v0.11 by O. Vishnepolsky and R. Rogers
  9. Lines: 22
  10. Reply-To: cnadler@vnet.ibm.com (Cliff Nadler)
  11. References: <Bu1zIH.3u6@world.std.com>
  12. Organization: IBM T. J. Watson Research
  13.  
  14. In  <Bu1zIH.3u6@world.std.com>  bsn@world.std.com (Brent S Noorda) writes:
  15. > I set up program objects' settings so that by double-clicking on them in
  16. > the WPS I can launch them in wonderful ways. For example, I can set up
  17. > a desktop Program Object to launch a program in a DOS session with such-and-
  18. > such memory and window, etc...  Now I can launch this program with these
  19. > setting whenever I want by using a mouse on the shell.  But is there any
  20. > way to launch these same programs with the same settings from the command
  21. > line or from Rexx or from C programming?
  22. > Can messages be sent to the shell?
  23. > Are the settings saved somewhere accesible?
  24.  
  25. Yes, they are (if you know the OBJECT_ID of the object, and you have the very
  26. latest REXX20 updates). You can use SysSetObjectData to open an object that
  27. exists on the desktop, or you can use SysCreateObject with <WP_NOWHERE> and
  28. (I think) "OPEN=DEFAULT" in the setup string parameter.
  29.  
  30. --
  31. Cliff Nadler (cnadler@vnet.ibm.com)
  32. IBM Federal Systems Company - TEAM OS/2
  33.  
  34. Disclaimer: This post represents the views of the poster, not IBM Corporation.
  35.