Warboy Posted October 10, 2009 Share Posted October 10, 2009 (edited) Okay, I need help making a macro. I want it to work like the following Press CTRL+F6 Loops "X" key with .005s pauses - Unlimited loops When hit CTRL+F6 or F7, It breaks the loop and allows normal operations. Heres the code for the standard loop, I just can't figure out the last part ; ALT+F5 key assignment !F5:: Loop { Send X Sleep 00005 } return Edited October 10, 2009 by Warboy Link to comment Share on other sites More sharing options...
0 guruparan Posted October 10, 2009 Share Posted October 10, 2009 wat programming language it is? Link to comment Share on other sites More sharing options...
0 Warboy Posted October 10, 2009 Author Share Posted October 10, 2009 wat programming language it is? Heck if I know. Here is the site. http://www.autohotkey.com/ Link to comment Share on other sites More sharing options...
0 Kami- Posted October 12, 2009 Share Posted October 12, 2009 The scripts documentation on the site above explains how to obtain your results. Link to comment Share on other sites More sharing options...
0 jbrooksuk Posted October 12, 2009 Share Posted October 12, 2009 Loops "X" key with .005s pauses - Unlimited loops If AutoHotKey is still closely based off of AutoIt, the sleep function (which if IRC is called from kernel32.dll) can only go down to 50 miliseconds. Link to comment Share on other sites More sharing options...
Question
Warboy
Okay, I need help making a macro.
I want it to work like the following
Press CTRL+F6
Loops "X" key with .005s pauses - Unlimited loops
When hit CTRL+F6 or F7, It breaks the loop and allows normal operations.
Heres the code for the standard loop, I just can't figure out the last part
; ALT+F5 key assignment
!F5::
Loop
{
Send X
Sleep 00005
}
return
Edited by WarboyLink to comment
Share on other sites
4 answers to this question
Recommended Posts