define hotkey with modifier in loop
Posted: 21 Jul 2018, 04:36
I'm sorry if this is a stupid question, but I can't find the solution for the life of me.
I have a loop that defines a hotkey for each character a-z:
Loop, 26
Hotkey, % Chr(A_Index + 64), DoSomething
What I can't figure out is how to do this with a modifier symbol, e.g. "+" (Shift), so that the hotkey is only triggerd when I have Shift pressed together with the character.
I have a loop that defines a hotkey for each character a-z:
Loop, 26
Hotkey, % Chr(A_Index + 64), DoSomething
What I can't figure out is how to do this with a modifier symbol, e.g. "+" (Shift), so that the hotkey is only triggerd when I have Shift pressed together with the character.