oMBRa Posted August 18, 2008 Share Posted August 18, 2008 how to call a function when a button of a window ( so not a GUI ) is pressed? Link to comment Share on other sites More sharing options...
iceberg Posted August 18, 2008 Share Posted August 18, 2008 from the help file #include <Misc.au3> $dll = DllOpen("user32.dll") While 1 Sleep ( 250 ) If _IsPressed("23", $dll) Then MsgBox(0,"_IsPressed", "End Key Pressed") ExitLoop EndIf WEnd DllClose($dll) mouse not found....scroll any mouse to continue. 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