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

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: Key Strokes
by Transient (Hermit) on Jun 22, 2005 at 14:09 UTC
    Are you referring to something like an imagemap in HTML? To send the x,y coordinates via a GET/POST to a webserver? I'll try to help you (as will many many others) if possible, just trying to understand the question. Please be specific, it will help a lot!

    <pedantic>Perl PM modules is redundant (I'm assuming you mean PM as in .pm not PM as in PerlMonks). They're simply referred to as Perl modules :)</pedantic>
Re: Key Strokes
by rinceWind (Monsignor) on Jun 22, 2005 at 15:23 UTC

    I guess you want to do some GUI testing or automation from Perl. This is not easy. If you are wanting to drive an external GUI application, you might be better off with a commercial testing tool like Cyrano or Winrunner.

    However, if your app is itself written in perl, it may be possible to hook the key bindings. Bear it in mind that there is more than one way of writing a GUI app in perl - Tk, Win32::GUI or Wx.

    --

    Oh Lord, won’t you burn me a Knoppix CD ?
    My friends all rate Windows, I must disagree.
    Your powers of persuasion will set them all free,
    So oh Lord, won’t you burn me a Knoppix CD ?
    (Missquoting Janis Joplin)

Re: Key Strokes
by tlm (Prior) on Jun 22, 2005 at 15:31 UTC

    I can't decipher your question. Maybe WWW::Mechanize will do what you want...

    the lowliest monk