Skip to content

Commit 5862e5e

Browse files
committed
{LShift Down} doesn't work, needs keybd_event
1 parent d9458d3 commit 5862e5e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_VD.ahk

+2-2
Original file line numberDiff line numberDiff line change
@@ -859,10 +859,10 @@ class VD {
859859
DllCall("CloseHandle", "Int", h)
860860

861861
if (LShiftDown) {
862-
Send "{LShift Down}"
862+
DllCall("keybd_event","UChar",160,"UChar",42,"Uint",0,"Ptr",0)
863863
}
864864
if (RShiftDown) {
865-
Send "{RShift Down}"
865+
DllCall("keybd_event","UChar",161,"UChar",310,"Uint",0,"Ptr",0)
866866
}
867867
}
868868
}

0 commit comments

Comments
 (0)