Using multiple keys at once requires setting a timer and checking to see that the key is still down when the next is pressed. I have something like that setup already in AHK you can take a look at: #InstallKeybdHook #SingleInstance force #Persistent SetTimer, WatchQuitCombo, 250 return WatchQuitCombo: if GetKeyState("Joy1") AND GetKeyState("Joy2") { SetTimer, ComboQuitDown, 100 SetTimer, WatchQuitCombo, Off } return ComboQuitDown: if GetKeyState("Joy1") AND GetKeyState("Joy2") { QuitWaitTime:=QuitWaitTime + 100 if QuitWaitTime >=2000 { IfWinActive MAME { Send {Blind}{Escape} } ;IfWinActive <Another Emulator> ;{ ; Send {Blind}{Escape} ;} QuitWaitTime:=0 SetTimer, WatchQuitCombo, 250 } } Else { QuitWaitTime:=0 SetTimer, WatchQuitCombo, 250 } return Now, just to put up a disclaimer, this is an old version of the script that I have since played around with. I know this works, but it could probably be improved. I know I've done some better stuff with it, but this gives you a good idea of how to do exactly what you want...