though it took me a while to find it, if your refereing to this http://www.autoitscript.com/autoit3/docs/libfunctions/_IsPressed.htm then i am a little confused because looking at the sample code #include $dll = DllOpen("user32.dll") While 1 Sleep ( 250 ) If _IsPressed("23", $dll) Then MsgBox(0,"_IsPressed", "End Key Pressed") ExitLoop EndIf WEnd DllClose($dll) I would need to know the "numbers" of the keys that r being pressed for the code to detect and then