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

Hi Monks,

I wish to run a script tha will cause the mouse cursor to move.
but I don't want this script to have a window
without using widget.

all the examples I found use widget
Is it possible to do what I wish?

Thanks ahead
Moked

Replies are listed 'Best First'.
Re: moving cursor without a widget
by moked (Beadle) on Jul 26, 2011 at 05:37 UTC
    Hi Guys,

    I found the answer: Win32::GuiTest
    #!/usr/bin/perl use Win32::GuiTest; Win32::GuiTest::MouseMoveAbsPix($x,$y);#move to absolute screen positi +on Win32::GuiTest::SendMouseMoveRel($x,$y);#move to relative position exit;

    Thanks for everyone
    Moked