Psychoclick Posted January 23, 2009 Posted January 23, 2009 Well, there is a PC game i play, and in game, i have rigged the attack button to be the humble Spacebar, which also targets the enemy at the same time. So, i was trying to figure out how to get AutoIt to press the spacebar automatically for me looped for about 120 keystrokes of the spacebar per minute, to run for about 2 hours. Can AutoIt be used to do exactly this?
Dampe Posted January 23, 2009 Posted January 23, 2009 Use this script ;//Loop space bar input While 1 Send ("{SPACE}") ;//Sleep for half a second before next loop Sleep (500) ;//This allows for exacltey 120 presses per minute WEnd
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