Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/perl
- #
- #
- # Basic test to move a Mouse Cursor using Perl
- #
- #
- use X11::GUITest qw(:ALL);
- print DefaultScreen();
- ($x, $y) = GetMousePos();
- print "$x $y \n\n";
- MoveMouseAbs(650,250);
- sleep(1);
- ($x, $y) = GetMousePos();
- print "$x $y \n\n";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement