Autohotkey application-specific hotkeys
I am a newbie to Autohotkey, and I can't figure this out despite reading through this site and the official documentation. I just want to have certain hotkeys work only with certain applications. So for example, if I press spacebar in a certain game I want it to send ` (grave), but if I'm not in that game I want spacebar to function normally. Everything I try seems to make spacebar do nothing when I'm not in game. I can try using an "else" statement to send the spacebar, but that just seems to make an infinite loop. Help! EDIT: Thank you NbdNnm. Here's exactly what ended up working for me: