Jump to content
Sign in to follow this  
erebus

Hiding the mouse pointer

Recommended Posts

erebus

Hello all,

I was wondering if is it possible to hide the mouse pointer somehow and show it back again. Any ideas?

Edit: At the moment I use:

MouseMove (@DesktopWidth, @DesktopHeight, 1)

...which is not _exactly_ what I want, since when the busy pointer appears it is a bit visible.

Edited by erebus

Share this post


Link to post
Share on other sites
nicholassolutions

I don't know if this will help you, but if you set the last parameter in MouseMove to 0, it makes the mouse move infinitely fast, e.g.:

MouseMove( x, y, 0)

Share this post


Link to post
Share on other sites
Mr.Wizard

the API call ShowCursor should do this but I can't get it to work in AutoIt yet...


I have a catapult. Give me all the money or I will fling an enormous rock at your head.

Share this post


Link to post
Share on other sites
scriptkitty

maybe use something like this. :)

$m=@min
while $m=@min
$x=int(Random(0,@desktopwidth))
$y=int(Random(0,@DesktopHeight))
mousemove($x,$y,0)
sleep(1)
wend

AutoIt3, the MACGYVER Pocket Knife for computers.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.