Page 1 of 1

Cross-Remapped a key caused not responded

Posted: 18 Oct 2018, 10:18
by elliotching
I have following script (both mapped to D) and I have no longer working button, neither H nor D are working.
Unless I disable/removed D part. How to make this work?

Code: Select all

d::
GetKeyState, OutputVar , d , P
while GetKeyState("d","p")
{
    Send {d down}
    Sleep, 1
    Send {d up}
    Sleep, 1
}

h::
GetKeyState, OutputVar , h , P
while GetKeyState("h","p")
{
    Send {d down}
    Sleep, 30
    Send {d up}
    Sleep, 30
}

Re: Cross-Remapped a key caused not responded

Posted: 18 Oct 2018, 10:27
by eelrod
Try sticking a Return at the end of each hotkey. Does that help?

Re: Cross-Remapped a key caused not responded

Posted: 18 Oct 2018, 10:37
by elliotching
unfortunately NOPE. both inside loop and outside loop tried.