DarkBlood Posted November 17, 2006 Share Posted November 17, 2006 I want to do a script that when you hold down right click will be send U infinite times until you free the right click. how can autoit do to listening a mouseup or mousedown event? #include <Misc.au3> $dll = DllOpen("user32.dll") While 1 Sleep(100) If _IsPressed("02", $dll) Then ;right click = 02 While 1 Send("{u}") Wend Endif WEnd Link to comment Share on other sites More sharing options...
Outshynd Posted November 17, 2006 Share Posted November 17, 2006 #include <Misc.au3> While 1 If _IsPressed("02") Then Send("U") Sleep(25) WEnd Link to comment Share on other sites More sharing options...
DarkBlood Posted November 17, 2006 Author Share Posted November 17, 2006 (edited) oh my god! is very simpleTHANK YOU Larry !!! Edited November 17, 2006 by DarkBlood Link to comment Share on other sites More sharing options...
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