Kyler Carlson Posted August 3, 2006 Posted August 3, 2006 I've been looking in the help file but i'm not finding it. how do i have autoit send the right arrow key or the left arror key?
Kyler Carlson Posted August 3, 2006 Author Posted August 3, 2006 (edited) oops sry... it was in the beta help... i was accidently in the norm 1 Edit: how can i have it send for a duration of time? Edited August 3, 2006 by Kyler Carlson
NELyon Posted August 3, 2006 Posted August 3, 2006 AutoitSetOption("SendKeyDownDelay", 400);sets the keys to 400 mil. secs Send("{LEFT}")
Skruge Posted August 3, 2006 Posted August 3, 2006 Edit: how can i have it send for a duration of time?That can be interpreted in multiple ways... Pick one that matches your situation. ; Repeat for 5 seconds $Timer = TimerInit() Do Send("{LEFT}") Until TimerDiff($Timer) > 5000 ; Hold key for 5 seconds Send("{LEFT down}") Sleep(5000) Send("{LEFT up}") [font="Tahoma"]"Tougher than the toughies and smarter than the smarties"[/font]
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