I have this loop, i don't know autohotkey, and i would like to toggle this loop with capslock:

CapsLock::


Loop,10000000{

SendInput { m down}
sleep 50
SendInput {Click}
sleep 50
}
return

EDIT:Yes i want m down and never up.

  • what is with {m down} ? You want m key always down and never up? – Mikhail V Sep 14 at 13:57

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.