home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / os2 / misc / 37038 < prev    next >
Encoding:
Text File  |  1992-11-19  |  1.8 KB  |  38 lines

  1. Newsgroups: comp.os.os2.misc
  2. Path: sparky!uunet!newsgate.watson.ibm.com!yktnews!admin!watson!
  3. From: cnadler@vnet.ibm.com (Cliff Nadler)
  4. Subject: Re: Can OS/2 2.0 handle this application?
  5. Sender: @watson.ibm.com
  6. Message-ID: <1992Nov19.141341.32127@watson.ibm.com>
  7. Date: Thu, 19 Nov 92 14:13:41 GMT
  8. News-Software: IBM OS/2 PM RN (NR/2) v0.15 by O. Vishnepolsky and R. Rogers
  9. Lines: 24
  10. Reply-To: cnadler@vnet.ibm.com (Cliff Nadler)
  11. References: <2931058782.2.p00122@psilink.com>
  12. Organization: IBM T. J. Watson Research
  13.  
  14. In <2931058782.2.p00122@psilink.com> "Karl Finkemeyer" <p00122@psilink.com> writes:
  15. >I have a proprietary DOS full screen application (using DOS text windows
  16. >with mouse support and keyboard shortcuts) which I depend on. Since it's
  17. >proprietary, I have no source code and no way to change it. But I need 
  18. >to automate it in any case. I want to write "something" which analyzes
  19. >the text on the screen and, depending on which text it finds and where,
  20. >feeds certain keystrokes to the application.
  21.  
  22. Well one solution is to write a PM program that hooks into the system message
  23. queue that can place events into the queue specifically for the DOS application
  24. (which must be running in a window on the screen).
  25.  
  26. Another solution may be to use the Workstation Interactive Test Tool (WITT) from
  27. IBM. This allows you to do exactly what the hook will do, but you write your
  28. "procedures" in REXX, or capture keystrokes. I haven't used it myself, and I
  29. heard there are some bugs to work around currently (while running in OS/2 2.0),
  30. but it seems capable of doing what you want.
  31.  
  32. Another possible solution is a DOS TSR which will intercept the keyboard and
  33. screen calls made by your application and make the proper course of action.
  34. I think that this does exist someplace, but I have no names for you.
  35.  
  36. Cliff
  37. Note: This posting represents that of the poster, not IBM Corporation
  38.