manit 0 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 ? Share this post Link to post Share on other sites
Ramzes 1 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] Share this post Link to post Share on other sites
manit 0 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 Share this post Link to post Share on other sites