So you want to use Shift on it's own to send C, but still allow Shift+x etc?
Not as simple as it sounds. For example, if you hold Shift, then hit X, then release X, when you finally release Shift, it needs to know that you just released X and not to count the release of shift.
So basically, if you want to allow Shift+x and Shift+e, you would need to set a variable when shift+e activated, and each time shift is released, check if the variable is set, and if so, do not send C.
Code: Select all
last_press_was_shifted := 0
~Shift up::
if (!last_press_was_shifted){
;Tooltip SHIFT RELEASE - SEND C
Send C
}
last_press_was_shifted := 0
return
~+e::
~+x::
;Tooltip % A_ThisHotkey
last_press_was_shifted := 1
return
^Esc::
ExitApp