derneue 0 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! Share this post Link to post Share on other sites
Quinch 0 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 Share this post Link to post Share on other sites