Joy7:: SetTimer, Testings, 1000 return Testings: if GetKeyState("Joy8") { Send {Alt Down}{F4}{Alt Up} return } else { SetTimer, Testings, off }