Rick711 Posted December 8, 2008 Posted December 8, 2008 I was trying to HotKeySet the NUMPAD0 and was unable to do so. I have not tested any other keys other than the Number Pad keys With the following code, NUMPAD0-9 and NUMPADDOT are not being captured. I keep looking at the code, feeling like I have missed something ridiculous, but so far I can see nothing. Any ideas? HotKeySet("{NUMPAD0}", "TestKey") HotKeySet("{NUMPAD1}", "TestKey") HotKeySet("{NUMPAD2}", "TestKey") HotKeySet("{NUMPAD3}", "TestKey") HotKeySet("{NUMPAD4}", "TestKey") HotKeySet("{NUMPAD5}", "TestKey") HotKeySet("{NUMPAD6}", "TestKey") HotKeySet("{NUMPAD7}", "TestKey") HotKeySet("{NUMPAD8}", "TestKey") HotKeySet("{NUMPAD9}", "TestKey") HotKeySet("{NUMPADMULT}", "TestKey") HotKeySet("{NUMPADADD}", "TestKey") HotKeySet("{NUMPADSUB}", "TestKey") HotKeySet("{NUMPADDIV}", "TestKey") HotKeySet("{NUMPADDOT}", "TestKey") While 1 Sleep(100) WEnd Func TestKey() MsgBox(0, "", "Pressed " & @HotKeyPressed) EndFunc
AoRaToS Posted December 9, 2008 Posted December 9, 2008 (edited) Actually it's working, are you sure you have numlock on? Edited December 9, 2008 by AoRaToS s!mpL3 LAN Messenger Current version 2.9.9.1 [04/07/2019] s!mpL3 LAN Messenger.zip s!mpL3
Rick711 Posted December 9, 2008 Author Posted December 9, 2008 ...I feel so stupid... NumLock.... such a simple, correct answer.. Thanks for the reply as I was afraid I had a virus or something. Thanks again.
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