Loading ...
Sorry, an error occurred while loading the content.
 

Re: surprising MouseMove behavior

Expand Messages
  • ikatiar
    Have you tried using MouseMoveAbsPix(x,y) instead? ... Perl
    Message 1 of 4 , Dec 20, 2006
      Have you tried using MouseMoveAbsPix(x,y) instead?



      --- In perlguitest@yahoogroups.com, "Philip Nemec" <panemec@...>
      wrote:
      >
      > It seems that SendMouseMove is multiplying everything by 3 (with
      Perl
      > 5.8.0 and Windows XP).
      >
      > #!/usr/bin/perl
      > use Win32::GuiTest qw(:ALL);
      >
      > SendMouseMoveAbs(0, 0);
      > SendMouseMoveRel(1, 1);
      > my ($x_div, $y_div) = GetCursorPos();
      > print "div $x_div, $y_div\n";
      >
      > I get: div 3 3
      >
      > Any suggestions on what I'm doing wrong, or is this a bug?
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.