While LShift Down = Lctrl Up

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
WekizZ
Posts: 73
Joined: 14 Jul 2017, 04:40

While LShift Down = Lctrl Up

09 Mar 2018, 10:43

Hello,
Im trying to get a CTRL UP state while I hold Shift but as soon as I let it go CTRL should become Down state.

Code: Select all

Shift::
If (GetKeyState("Shift", "P"))
	SendInput {CTRL up}
Else
	SendInput {CTRL down}
Return
But what I get its like a toggle that works funny way if I press shift it will toggle CTRL Down but to Toggle Off I need to press CTRL.
I want CTRL always down and only UP while Shift is DOWN pressed and hold.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Google [Bot] and 292 guests