joshb Posted April 19, 2010 Share Posted April 19, 2010 (edited) Im trying to create a program where autoit presses the left right up down arrow keys in a game along with some other keys it runs but nothing happens here is a bit of my code: Sleep(10000) For $count = 1 To 200000 Next For $count = 1 To 200000 ControlSend("", "", "", "LEFT" );this is for left arrow Sleep(1000) ControlSend("", "", "", "q" );like send ("q") Sleep(1000) ControlSend("", "", "", "4" );like send ("4") Sleep(500) ControlClick("", "", "", "LEFT" );this is for left mouse click Next Edited April 19, 2010 by joshb Link to comment Share on other sites More sharing options...
HangarBrasil Posted April 19, 2010 Share Posted April 19, 2010 Simple, see the coordinates of the buttons you want to use the primary command click with the right sequence you want:) I have helped. 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