funkey Posted August 4, 2012 Posted August 4, 2012 (edited) Maybe you can do a workaround? #include <Misc.au3> While 1 Sleep(20) If _IsPressed("0C") Then MsgBox(64, "Info", "Numpad5 without NumLock on (Clear key) pressed") WEnd Edit: You can also use the HotKey-UDF: #include <Hotkey.au3> Global Const $VK_CLEAR = 0x0C _HotKey_Assign($VK_CLEAR, '_Test') HotKeySet("{ESC}", "_Exit") While 1 Sleep(20) WEnd Func _Test() MsgBox(64, "Info", "Numpad5 without NumLock on (Clear key) pressed") EndFunc Func _Exit() Exit EndFunc Edited August 4, 2012 by funkey Programming today is a race between software engineers striving tobuild bigger and better idiot-proof programs, and the Universetrying to produce bigger and better idiots.So far, the Universe is winning.
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