bjbrechas Posted January 11, 2016 Share Posted January 11, 2016 (edited) Hello i wanted to make a QS script with autoit, i made it before but lost all my HDD on last format.Im so bad at C++, maybe LUA can do something but im feeling really lost. Repeat Untilfalse; really miss lua code T.T xdIm trying to call keyboard "q" strokes each i hit left click.For each left click making 2 "q" strokes, a loop function & a keybind to stop script.Can anyone help me?Edit: i did the script in 100 diferent ways but i cant find how to call keyboard when i click left mouse button on loop... Edited January 11, 2016 by bjbrechas Link to comment Share on other sites More sharing options...
InunoTaishou Posted January 11, 2016 Share Posted January 11, 2016 (edited) #include <Misc.au3> Global $hDll = DLLOpen("user32.dll") While (True) If (_IsPressed("01", $hDll)) Then Send("{q}") EndIf WEndDidn't look at the help file to confirm, pretty sure 01 is the left mouse button, double check it though. Edited January 11, 2016 by InunoTaishou bjbrechas 1 Link to comment Share on other sites More sharing options...
bjbrechas Posted January 11, 2016 Author Share Posted January 11, 2016 thank you 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