Jump to content

Help with AutoIt


 Share

Recommended Posts

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
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...