bigassmuffin Posted May 4, 2006 Share 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? Link to comment Share on other sites More sharing options...
Valuater Posted May 4, 2006 Share 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) Link to comment Share on other sites More sharing options...
exodius Posted May 4, 2006 Share 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}" ) Link to comment Share on other sites More sharing options...
bigassmuffin Posted May 5, 2006 Author Share Posted May 5, 2006 ty 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