Code:
Code: Select all
F1::ClickMouse(5000000)
f2::
Pause
Suspend
return
ClickMouse(vCount)
{
Loop, 500000
{
Loop, 20
{
ControlSend, , {1 down}{1 up}, Realm Grinder
Sleep, 10
}
Sleep, 5
}
}
return
F3::ExitApp
;^!+`::ExitApp
Script works as desired (sending the keypresses to the proper application... and works even when window is minimized.
I then try to do other tasks on PC while script is running.
However, while the script is running, if I try to use "Ctrl + c", "Ctrl + v" (ie. copy, paste), or any other such key-combo ("Ctrl + t), it works only a fraction of the time (ei. "Ctrl + c" sometimes works properly, but often just behaves as if i only pressed c)....really annoying as this means I can't reliably use this to copy and paste text. This also messes with "Shift + key) in the same manner ("Shift + a) is sometimes "A" but othertimes just "a".
Question(s):
What is causing this issue?
How can I edit this script to continue to perform well in the background but not have the annoying issue discussed above?