I would like to know is it possible to execute control operations like
Ctrl-C(to abort an action), Ctrl-Q(to mark an email as read) etc in a perl
script.
With Rgds,
Raj
It sounds like you want to stuff characters into the keyboard buffer
and
have them interpreted as though they were typed by the user, like
Sendkeys
in VB.
Win32::GuiTest has a SendKeys interface that may let you do some of
these
things, but I haven't tried it.
If you know what action you want, you can do it another way. You can
use
the kill function to do the equivalent of Ctrl-C for example.
> I would like to know is it possible to execute control operations like
> Ctrl-C(to abort an action), Ctrl-Q(to mark an email as read) etc in a perl
> script.
Dunno if Perl can do that or not, but when I need to automate stuff in
Windows, I use AutoIt3: http://www.autoitscript.com/autoit3/
That allows you to write and run scripts that can move and click the
mouse any place you like, depress any keys you want, etc.
--
Cheers,
Robbie Hatley
lonewolf aatt well dott com
www dott well dott com slant user slant lonewolf slant