Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Win32 send keystrokes to webapp

by water (Deacon)
on Apr 01, 2006 at 15:08 UTC ( [id://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?

water

Replies are listed 'Best First'.
Re: Win32 send keystrokes to webapp
by Corion (Patriarch) 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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (2)
As of 2024-04-20 05:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found