Go to Google Groups Home
Groups 
Advanced Groups Search    Groups Help 
 
Groups search result 58 for apmt os/2

Search Result 58
From: Mark Schlegel (schlegel@crocker.com)
Subject: Re: Is there a rexx way to fake a keyboard??
Newsgroups: comp.lang.rexx
View: Complete Thread (8 articles) | Original Format
Date: 1996/09/18
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


Google Home - Advertise with Us - Add Google to Your Site - News and Resources - Language Tools - Jobs, Press, Cool Stuff...

©2002 Google