Cataldo Posted January 17, 2008 Share Posted January 17, 2008 (edited) Well, im trying to learn.. Can somone help out on making a macro that will press W like every .1 seconds.. And it needs to work with gunz? Im not sure how this would work My friend helped me with this.. Makes me do the ButterFly WinActivate("Gunz") WinWaitActive("Gunz") HotKeySet("c", "QStep") Global $paused = true Func QStep() $paused = false Send("{SPACE}") Send("w") Send("w") MouseDown("left") Send("2") ;Set this to one of your buttons that will switch to a GUN Send("{SPACE}") Send("w") Send("w") $paused = true EndFunc While $paused = true Sleep(500) WEnd I just want it to press W every .1 second in gunz..? Edited January 17, 2008 by Cataldo Link to comment Share on other sites More sharing options...
JustinReno Posted February 1, 2008 Share Posted February 1, 2008 While 1 SendKeepActive("Gunz", "", "W") WEnd I'm not sure if this code works, its untested, but look up the command SendKeepActive in AutoIt's helpfile. 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