manit Posted September 29, 2011 Posted September 29, 2011 I want to disable double click from my mouse . That means If I click once then again immediately . I want the OS to disregard mouse clicks for 0.5 second after a click. How can I do that ?
Ramzes Posted September 29, 2011 Posted September 29, 2011 Try this: #include <Misc.au3> While 1 While Not _IsPressed(1) Sleep(10) WEnd While _IsPressed(1) Sleep(10) WEnd BlockInput(1) Sleep(100) BlockInput(0) WEnd BlockInput disable mouse and keyboard. Sorry for my bad English but nobody is perfect. [font=arial, helvetica, sans-serif]Ramzes[/font]
manit Posted October 3, 2011 Author Posted October 3, 2011 hi Ramzes I understand from your script that (1)sleep for 10ms whether left mouse button is pressed or not(2)then block keyboard & mouse for 100ms(3)now free mouse & keyboard
mylearings Posted July 15, 2023 Posted July 15, 2023 On 9/29/2011 at 12:00 PM, Ramzes said: this is not working on new laptops #include <Misc.au3> While 1 While Not _IsPressed(1) Sleep(10) WEnd While _IsPressed(1) Sleep(10) WEnd BlockInput(1) Sleep(100) BlockInput(0) WEnd BlockInput disable mouse and keyboard.
Somerset Posted July 15, 2023 Posted July 15, 2023 You're replying to a thread that hasn't been posted in 11 years.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now