Code: Select all
loop
{
Sleep 1000
ControlSend,,{F9},inactivewindow
}
for example, if the above script is running and I open up a notepad and press SHIFT+A . a lot of time I get a lowercase A instead because the my SHIFT keystroke didnt register. the same with CTRL+S to save my notepad, it often sends an S to the notepad instead of CTRL+S to save the file.
is there a way to pause the script for 10 seconds while i am using the keyboard?
i would like to stay away from having to press a key to toggle on/off the script