Shonnie Posted May 10, 2007 Posted May 10, 2007 I use a while statement to monitor for a keypress then do a function if the key is pressed. Now i got some serious lag. Anyone, help please, and explain so i can learn from this experience. Thank you all who reply.
mrbond007 Posted May 10, 2007 Posted May 10, 2007 Maybe This ?? #include <Misc.au3> $dll = DllOpen("user32.dll") While 1 Sleep ( 250 ) If _IsPressed("23", $dll) Then keys() ExitLoop EndIf WEnd DllClose($dll) Func keys() MsgBox(0,"_IsPressed", "End Key Pressed") EndFunc Projects : Space Regain - Memory Fusion - PWGT - Chip-ITGames : BrainPain - BrainPain Director's Cut - ProSpeed Games Pack (New)Vista vs XP : the forbidden fight
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now