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
Try this and make sure you have the latest version of AutoHotkey. Put the application process name in the strYourAppExeName
variable and put your hotkey definitions in the #if
block.
strYourAppExeName := "notepad.exe"
strYourMessage := "``(grave)"
#If WinActive("ahk_exe " strYourAppExeName)
Space::SendInput, % strYourMessage
#if