derneue Posted January 4, 2012 Share Posted January 4, 2012 Hello Guys, all I need is this: When I hit F1 then F2-F12 should be executed one after the other. How would the code look like, please? Thank you! Link to comment Share on other sites More sharing options...
Quinch Posted January 4, 2012 Share Posted January 4, 2012 (edited) Umm, offhand guess - AutoItSetOption("SendKeyDelay", "5") ;You can tweak this for slower or faster keypresses AutoItSetOption("SendKeyDownDelay", "5") ;You can tweak this for length of time the key is "held down" HotKeySet("{F1}", "Fthis") While 1 Sleep(10000) Wend Func Fthis() Send("{F2}{F3}{F4}{F5}{F6}{F7}{F8}{F9}{F10}{F11}{F12}") EndFunc Edited January 4, 2012 by Quinch 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