Jump to content
Sign in to follow this  

How to disable the numlock key?

Recommended Posts

I am looking for a way to disable the NumLock key in an AutoIt v3 script. I want to have the NumLock on, but not be able to toggle it with the key. Anybody have any idea how to do this? I know how to turn Numlock on, but not disable the key itself...

˙˙˙ʎɐqǝ uo pɹɐoqʎǝʞ ɐ ʎnq ı ǝɯıʇ ʇsɐן

Share this post

Link to post
Share on other sites

If your Numlock key is set to a function then you can disable it using this:

; Disable Numlock key On/Off/toggle
    HotKeySet("{NUMLOCK on}")
    HotKeySet("{NUMLOCK off}")
    HotKeySet("{NUMLOCK toggle}")

but I dont how to disable it so that way, the light wont appear on the keyboard (if it's what your talking about)

Edited by J0ker

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...