Valuater Posted February 23, 2006 Share Posted February 23, 2006 (edited) just ispressed enter... per help #include <Misc.au3> $dll = DllOpen("user32.dll") While 1 Sleep ( 250 ) If _IsPressed("0D", $dll) Then MsgBox(0,"_IsPressed", "Enter Key Pressed") ExitLoop EndIf WEnd DllClose($dll) i tried zero & D and Letter O & D ??? thx 8) Edited February 23, 2006 by Valuater Link to comment Share on other sites More sharing options...
Xenobiologist Posted February 23, 2006 Share Posted February 23, 2006 Hi, this works for me #include <Misc.au3> $dll = DllOpen("user32.dll") While 1 Sleep ( 10 ) If _IsPressed("0D", $dll) Then MsgBox(0,"_IsPressed", "Enter Key Pressed") ;ExitLoop EndIf WEnd DllClose($dll) Seems to work! So long, Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
Valuater Posted February 23, 2006 Author Share Posted February 23, 2006 (edited) thanks... Duh!!! ( on me ) 8) Edited February 23, 2006 by Valuater Link to comment Share on other sites More sharing options...
Xenobiologist Posted February 23, 2006 Share Posted February 23, 2006 (edited) thanks... Duh!!! ( on me )8) I had to look up Duh! I found www.leo.org Don't confuse Homer's ''D'oh'' with ''Duh''D'oh - is an exclamation for ''Oh No'' or ''whoops'', showing annoyanceDuh is more like ''of course'', or ''don't be stupid, that's obvious''Very funny!So long,Mega Edited February 23, 2006 by th.meger Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
jpm Posted February 24, 2006 Share Posted February 24, 2006 just ispressed enter... per help #include <Misc.au3> $dll = DllOpen("user32.dll") While 1 Sleep ( 250 ) If _IsPressed("0D", $dll) Then MsgBox(0,"_IsPressed", "Enter Key Pressed") ExitLoop EndIf WEnd DllClose($dll) i tried zero & D and Letter O & D ??? thx 8)That's working under WinXP/Sp2 and the beta version. :"> Link to comment Share on other sites More sharing options...
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