Operating System - HP-UX
1828306 Members
3229 Online
109975 Solutions
New Discussion

Re: How to send keyboard stroke to another program

 
OTii
Occasional Contributor

How to send keyboard stroke to another program

Hi,
on HPUX10.2 system, I have been looking for a program (or some kind of keyboard macro) that can help to automate data entry of a GUI window which accepting keyboard entry.
The data entry would need to be read from a predefined text file.

However, after spending a day I still can't find such a program. I am not sure such program exist on HPUX but I have been using one on the Window XP.

Thanks
3 REPLIES 3
Dennis Handly
Acclaimed Contributor

Re: How to send keyboard stroke to another program

Have you looked into expect?
Steven Schweda
Honored Contributor

Re: How to send keyboard stroke to another program

> [...] a GUI window [...]

Whose GUI window? On what?

http://www.gnu.org/software/xnee/
OTii
Occasional Contributor

Re: How to send keyboard stroke to another program

The GUI window is just a x window with a few textboxes for user to key in data in each field.

I basically want the text boxes to fill with some initial data. The initial should be read from a text file for each field.

thanks for the reply thus far.