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.