When I quickly press LControl & RControl while the following sample script is running, the execution of the “While” operation starts. When the same combination of keys is quickly pressed again, the “While” operation stops normally, as intended in the script.
However, if I press and hold LControl & RControl for a few seconds, this hotkey stops functioning, so that it subsequently becomes impossible to stop the execution of the “While” operation with this hotkey.
Code: Select all
#MaxThreadsPerHotkey 2
LControl & RControl::
#MaxThreadsPerHotkey 1
on := !on
While on
{
SoundBeep
}
Return