Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Win32 send keystrokes to webapp

by water (Deacon)
on Apr 01, 2006 at 15:08 UTC ( #540641=perlquestion: print w/replies, xml ) Need Help??

water has asked for the wisdom of the Perl Monks concerning the following question:

Hi --

Win32::Clipboard seems pretty close to magic.

Is there a similar module to send keystrokes (events?) to a win32 app, w/o having to transit thru the clipboard?

I am envisioning a TK app for training that sits on the screen next to a browser, coaching the user thru the browser app, and helping the user by pumping text into appropriate fields in the webapp when (tk) instructed to do so.

Any suggestions for this integration, besides samie?


Replies are listed 'Best First'.
Re: Win32 send keystrokes to webapp
by Corion (Pope) on Apr 01, 2006 at 15:15 UTC

    I used Win32::GUITest for controlling other applications. Of course, you're likely better off by controlling your web application through Javascript, but that may or may not be available.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://540641]
Approved by Corion
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2020-10-31 08:18 GMT
Find Nodes?
    Voting Booth?
    My favourite web site is:

    Results (287 votes). Check out past polls.