Sign in to follow this  
Followers 0
erebus

Hiding the mouse pointer

5 posts in this topic

#1 ·  Posted (edited)

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



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

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

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

Thanks a lot guys :)

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  
Followers 0