Sign in to follow this  
Followers 0
joshb

Help with AutoIt

2 posts in this topic

#1 ·  Posted (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 by joshb

Share this post


Link to post
Share on other sites



Simple, see the coordinates of the buttons you want to use the primary command click with the right sequence you want:)

I have helped.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0