Quantcast
Channel: AutoHotkey Community
Viewing all articles
Browse latest Browse all 579

Ask for Help (v2) • Inputhook not working on remap key

$
0
0
When I press shift key, It will capital the first letter. But it's not working on remap hotkey. I have this working on v1 but I can't do in V2.

CODE:

LShift::capsOnDisplay()
SC024::d ;j key


capsOnDisplay() {
;ToolTip(GetKeyState("CapsLock", "T") ? "CapsLock: On" : "CapsLock: Off")
SetCapsLockState 1
ih := InputHook("L1 T2 V", "{CapsLock}{LShift}{Enter}")
ih.Start()
ih.Wait()
SetCapsLockState 0
}

Statistics: Posted by lirouxtm — 57 minutes ago



Viewing all articles
Browse latest Browse all 579

Trending Articles