Rydextillxixdiex Posted May 23, 2008 Share Posted May 23, 2008 What is the best method for sending simple keyboard functions within a game? Is it ControlSend()? Also how do i use the {UP down} Sleep(5000) so that the button will be help down for 5 seconds and then released. Also can you hold down two buttons simultaneously? Such as the up arrow and the right arrow? Thanks for your help. ...will never learn all there is to know about autoit, no worries...i came to the forums :) Link to comment Share on other sites More sharing options...
Valuater Posted May 23, 2008 Share Posted May 23, 2008 (edited) To hold a key down (generally only useful for games) Send("{a down}") ;Holds the A key down Sleep(5000) ; do something else? Send("{a up}") ;Releases the A key more that one key can be held-down at the same time I am not sure about the up arrow and the right arrow 8) Edited May 23, 2008 by Valuater Link to comment Share on other sites More sharing options...
Rydextillxixdiex Posted May 24, 2008 Author Share Posted May 24, 2008 Alright thanks ...will never learn all there is to know about autoit, no worries...i came to the forums :) 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