Here is what I've been trying:

#!perl

use warnings;
use strict;

use Win32::API;
use Tk::CursorControl;

$cursor->moveto(0, 0, -time=>1000);

but I receive an error:

Global symbol "$cursor" requires explicit package name at D:\tmp\ste.pl line
9.
Execution of D:\tmp\ste.pl aborted due to compilation errors.



"Jp" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> > Why not just change it in the system settings?
> Because my administrator turned off the permissions to change te settings
>
> >
> > If that's not good enough, why not have Perl poke at the registry so
> > that it can change the system settings?
> I don't want to poke around on somebody elses system; it is not mine but a
> customer's
>
> > Why use Perl for this,
> because its fun! and because I know I can do it if I just know which
module
> to use to easily move the pointer around.
>
> > or any scripting language for that matter?
> I don't know any other scripting language on windows
>
> of course I can ty my mobile phone to the mouse and call myself every few
> minutes. that way the mouse moves just a little bit by the vibration of
the
> phone. but then agian, although it is fun aswell, I don't consider it wise
> to let my mobile lay around my  office desk  when nobody (trusted) is
around
> ;o)
>
> JP
>
>



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to