This is what I have tried. LCtrl is disabled successfully but all the shortcuts using Ctrl such as Ctrl+Z are also disabled. I don't know why {vkE8}
isn't working.
#IfWinActive ahk_exe Photoshop.exe
LCtrl::send, {Blind}{vkE8}
#IfWinActive
This is what I have tried. LCtrl is disabled successfully but all the shortcuts using Ctrl such as Ctrl+Z are also disabled. I don't know why {vkE8}
isn't working.
#IfWinActive ahk_exe Photoshop.exe
LCtrl::send, {Blind}{vkE8}
#IfWinActive
Try this:
; Sends Ctrl+key after releasing LControl:
#IfWinActive ahk_exe Photoshop.exe
LCtrl:: Send {Blind}{vkE8}
LCtrl Up::
If (A_PriorKey != "LControl")
Send ^%A_PriorKey%
return
#IfWinActive
EDIT:
This should work:
#IfWinActive ahk_exe Photoshop.exe
LCtrl:: Send {Blind}{vkE8}
; In this case it is necessary to define a combination by using "<^+key",
; to avoid that LControl loses its modifier function:
<^a:: Send ^a
#IfWinActive
<^
means LControl.