bigassmuffin Posted May 4, 2006 Posted May 4, 2006 I know how to move the mouse, with the MouseMove(0, 0) command and press a key.. Send("{ALT}") and various simple thihngs ;P .... but how can I get it to hold a key down? like holding the buttin alt down for lets say..5 seconds?
Valuater Posted May 4, 2006 Posted May 4, 2006 from help To hold a key down (generally only useful for games) Send("{a down}") ;Holds the A key down Send("{a up}") ;Releases the A key 8)
exodius Posted May 4, 2006 Posted May 4, 2006 from help To hold a key down (generally only useful for games) Send("{a down}") ;Holds the A key down Send("{a up}") ;Releases the A key 8) So a slight permutation of what ^^^ said... Send ("{a down}") Sleep ( 5000 ) Send ("{a up}" )
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