Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: 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 Kari
06 Feb 2013
Published by

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

information   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   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







06 Feb 2013   #1
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Nice tutorial Kari.

My System SpecsSystem Spec
06 Feb 2013   #2
Lady Fitzgerald

Win 7 Ultimate 64 bit
 
 

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 System SpecsSystem Spec
06 Feb 2013   #3
maxie

windows 7 home 64bit
 
 

Cheers Kari that will be handy
My System SpecsSystem Spec
.


06 Feb 2013   #4
Kari

Microsoft Community Contributor Award Recipient

Windows 8.1 Pro with Media Center
 
 

Quote   Quote: Originally Posted by maxie View Post
Cheers Kari that will be handy
Thanks.

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

Kari
My System SpecsSystem Spec
06 Feb 2013   #5
maxie

windows 7 home 64bit
 
 

Quote   Quote: Originally Posted by Kari View Post
Quote   Quote: Originally Posted by maxie View Post
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 System SpecsSystem Spec
06 Feb 2013   #6
z3r010

 

Quote   Quote: Originally Posted by Lady Fitzgerald View Post
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 System SpecsSystem Spec
06 Feb 2013   #7
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

My System SpecsSystem Spec
06 Feb 2013   #8
Lady Fitzgerald

Win 7 Ultimate 64 bit
 
 

Quote   Quote: Originally Posted by z3r010 View Post
Quote   Quote: Originally Posted by Lady Fitzgerald View Post
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 System SpecsSystem Spec
14 Feb 2013   #9
Imold

Windows 7 Home Premium (64-bit) Service Pack 1
 
 

Quote   Quote: Originally Posted by Kari View Post
Quote   Quote: Originally Posted by maxie View Post
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 System SpecsSystem Spec
Comment

 Num Lock - Create Shortcut in Windows




Tutorial Tools



Similar help and support threads for2: Num Lock - Create Shortcut in Windows
Windows 7 Tutorial Category
SysKey - Create USB Key to Lock or Unlock Windows Tutorials
Windows+L shortcut key (lock session) not working anymore General Discussion
Windows Features - Create Shortcut Tutorials
Create shortcut in Windows Live Browsers & Mail
Windows Fax and Scan Shortcut - Create Tutorials
Windows CardSpace Shortcut - Create Tutorials
Lock Computer - Create Shortcut Tutorials

Our Sites

Site Links

About Us

Find 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 05:24 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33