Hello, I am having a strange issue with a script of mine. The script is causing a key to be spammed for no reason, I am going to chalk it up to a possible bug however I need help with a solution. I will display my basic script below. What I would like to know is how would I disable a specific key only while a macro is running?
Code: Select all
#UseHook
#NoTrayIcon
;Mystery macro 1.
Pause::
IfWinActive, Game
{
Send, {Space}
Return
}
else
Return
;Mystery macro 2.
!Pause::
IfWinActive, Game
{
Send, {Space}
Return
}
else
Return
;Replace dollar sign with pound sign.
+4::£