Groups search result 58 for apmt os/2 |
blemon@iglou.com wrote:
: In <51lg5f$4i6e@news-s01.ny.us.ibm.net>, dgoran@cfsrexx.com writes:
: > > What I want to do is sent input to the active window from
: > > a rexx file ...sort of like running SysGetKey in reverse.
: > > Is there any way to do that?? So that the data in my rexx
: > > file will appear to the system as someone typing on the
: > > keyboard?
: >
: >VX_REXX has this capability but I don't think there is anyway
: >to do this otherwise.
:
: Might want to take a look at APMT (hobbes.nmsu.edu/os2/ibm/ews/apmtst.zip
: ~180KB). This is IBM Employee Written Software that has some interesting
: REXX functions for controlling a PM session, among them one called Keyboard
: for sending keystrokes to a session. I haven't tried anything with this
:package, : but it may be useful to you.
:
: Barry
Barry, yeah, I noticed that and tried it... nothing happened. Maybe I
was using it wrong. My application is written in VXREXX but the
window I would like to type to would be a normal os/2 window running
a communications application. Like Livewire or TE/2,
by the way, when I tried keyboard, I did a
init_session()
then a select_window("TE/2*") /* TE/2 was a text fragment in the title */
then a rc = keyboard("test")
I didn't see anything on the screen
Mark
©2002 Google