loop { Sleep, 10 if GetKeyState("Shift", "P") SoundBeep, 750, 500 if GetKeyState("Alt", "P") SoundBeep, 600, 500 if GetKeyState("Ctrl", "P") SoundBeep, 450, 500 }