Answer the question
In order to leave comments, you need to log in
I can't write AHK, what's wrong?
The essence of the program: The
E key should be held for 10 seconds, then it stays in afk, about 5 seconds, the key is released and pressed again, and so on in a circle until you stop
$LCtrl::
Loop
{
Send {e down}
Sleep 10000 ; 10000 milliseconds = 10 seconds
Send {e up}
return
}
I wrote like this, I press the left Ctrl and the E key is pressed, then released, and I need to press Cntrl again how to automate this so that Ctrl turns the script on / off?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question