Sign in to follow this  
Followers 0
MerkurAlex

disable mouse for user

4 posts in this topic

mk my automation clicks in alot of different places i dont want the person to move the mouse and screw it up so i need to disable the mouse to the user and let my program control the mouse then when its over give them control back.

no _mousetrap wont work


[quote name='PsaltyDS' post='635433' date='Jan 27 2009, 07:04 AM']Larry is a mass murderer?! It's always the quiet, clean cut, bald guys... [/quote]

Share this post


Link to post
Share on other sites



mk my automation clicks in alot of different places i dont want the person to move the mouse and screw it up so i need to disable the mouse to the user and let my program control the mouse then when its over give them control back.

no _mousetrap wont work

Check out BlockInput() in the help file.

:whistle:


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

MouseClick("left", x, y, 1, 0)

would that work?

speed [optional] the speed to move the mouse in the range 1 (fastest) to 100 (slowest). A speed of 0 will move the mouse instantly. Default speed is 10.

Edited by rrrm99

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