Cross-Remapped a key caused not responded

Get help with using AutoHotkey and its commands and hotkeys
elliotching
Posts: 2
Joined: 06 Jun 2018, 06:17

Cross-Remapped a key caused not responded

18 Oct 2018, 10:18

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
}
eelrod
Posts: 48
Joined: 10 Apr 2018, 11:17

Re: Cross-Remapped a key caused not responded

18 Oct 2018, 10:27

Try sticking a Return at the end of each hotkey. Does that help?
elliotching
Posts: 2
Joined: 06 Jun 2018, 06:17

Re: Cross-Remapped a key caused not responded

18 Oct 2018, 10:37

unfortunately NOPE. both inside loop and outside loop tried.

Return to “Ask For Help”

Who is online

Users browsing this forum: chill8888, Google [Bot], kyuuuri, Newbieyikes, Notes0814 and 68 guests