Num Lock - Create Shortcut in Windows

Page 1 of 2 12 LastLast
    Num Lock - Create Shortcut in Windows

    Num Lock - Create Shortcut in Windows

    How to Create a Desktop Shortcut to Turn Num Lock ON or OFF
    Published by
    Designer Media Ltd


    How to Create a Desktop Shortcut to Turn Num Lock ON or OFF

       Information
    Some modern laptop keyboards have no Num Lock key. Instead the user needs to set Num Lock in BIOS.

    Various applications might turn Num Lock ON or OFF without user knowing of it.

    This tutorial will show you how to create a shortcut to turn the Num Lock on or off when you want to in XP, Vista, Windows 7, and Windows 8.



    This is how:

    1. Open Notepad

    2. Copy the following code into a new text document:

    Code:
    set WshShell = CreateObject("WScript.Shell")
    WshShell.SendKeys "{NUMLOCK}"
    3. Select Save as type: All Files (*.*), name the file as you wish and give it a .vbs extension to save your file as a Visual Basic Script:
    Num Lock - Create Shortcut in Windows-numlock_1.png
    4. Create a shortcut for your NumLock script on your desktop (Create Shortcut & Change Shortcut Icon tutorials)


       Note
    Now you have a Num Lock shortcut which toggles NumLock ON and OFF every time it is clicked. Please notice that when script is run it gives you no sign or message; it simply turns Num Lock ON if it was OFF and vice versa.



    That's it,

    Kari










  1. Posts : 71,977
    64-bit Windows 11 Pro for Workstations
       #1

    Nice tutorial Kari. :)
      My Computer


  2. Posts : 9,600
    Win 7 Ultimate 64 bit
       #2

    What I would like to be able to do is disable the NUM LOCK key so it stays on all the time. I'm constantly fat fingering the stupid thing.
      My Computer


  3. Posts : 18,415
    windows 7 home 64bit
       #3

    Cheers Kari that will be handy :)
      My Computer


  4. Posts : 17,545
    Windows 10 Pro x64 EN-GB
    Thread Starter
       #4

    maxie said:
    Cheers Kari that will be handy :)
    Thanks.

    Strangely enough it does not work on one laptop out of four I tested now.

    Kari
      My Computer


  5. Posts : 18,415
    windows 7 home 64bit
       #5

    Kari said:
    maxie said:
    Cheers Kari that will be handy :)
    Thanks.

    Strangely enough it does not work on one laptop out of four I tested now.

    Kari
    It works on mine though:)
      My Computer


  6. Posts : 51,383
    Windows 11 Workstation x64
       #6

    Lady Fitzgerald said:
    What I would like to be able to do is disable the NUM LOCK key so it stays on all the time. I'm constantly fat fingering the stupid thing.
    Fix here
      My Computers


  7. Posts : 71,977
    64-bit Windows 11 Pro for Workstations
       #7

      My Computer


  8. Posts : 9,600
    Win 7 Ultimate 64 bit
       #8

    z3r010 said:
    Lady Fitzgerald said:
    What I would like to be able to do is disable the NUM LOCK key so it stays on all the time. I'm constantly fat fingering the stupid thing.
    Fix here
    Oh, that was cold! Cold, man. That said,
      My Computer


  9. Posts : 19
    Windows 7 Home Premium (64-bit) Service Pack 1
       #9

    Kari said:
    maxie said:
    Cheers Kari that will be handy :)
    Thanks.

    Strangely enough it does not work on one laptop out of four I tested now.

    Kari
    Well you can always use the num lock key on the on-screen keyboard.
      My Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 04:39.
Find Us