I want to make a hotkey that only exists while another key is pressed. Ordinarily, just using modifiers would work but i need to intercept specific keys while one is down so that the keys work in normal use. How do i do that?
|
feedback
|
Sends R when l and b is pressed (though you'd probably want to add a {backspace} to remove the l, if you wanted such a thing for some reason) It's the ~ that tells AHK "Don't overwrite whatever this does at the moment" that's important. edit: GetKeyState:
would fire off a lovely string if r and q are pressed. The upshot of this is you can have as many ifs as you like :) | |||||
feedback
|