Windows 7 Forums


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

Featured Tutorial

User Profile - Customize During Installation
User Profile - Customize During Installation

How to Customize Default User Profile in Audit Mode

Peppermint3 - Create Live CD/DVD/USB To Use For Emergency Backup
Peppermint3 - Create Live CD/DVD/USB To Use For Emergency Backup

How to Perform an Emergency Data Backup When Windows 7 Will Not Boot

Dual Boot - Windows 7 and Linux
Dual Boot - Windows 7 and Linux

How to Correctly Setup a Dual Boot with Windows 7 and LinuxMint13

Windows 7 Installation - Transfer to a New Computer
Windows 7 Installation - Transfer to a New Computer

How to Transfer your Complete Windows 7 Installation to a New Computer

Portable OS - Carry your OS on an External Drive
Portable OS - Carry your OS on an External Drive

How to Create a Portable OS on an External Drive
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









Need more help? Try searching our extensive help and support site.
Loading
06 Feb 2013   #1
Brink

 

Nice tutorial Kari.

My System SpecsSystem Spec

06 Feb 2013   #2
Lady Fitzgerald

 

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

 

Cheers Kari that will be handy
My System SpecsSystem Spec
.


06 Feb 2013   #4
Kari

 

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

 

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

 

My System SpecsSystem Spec
06 Feb 2013   #8
Lady Fitzgerald

 

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

 

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 problems?



Tutorial Tools



Similar help and support threads for: Num Lock - Create Shortcut in Windows
Windows 7 Tutorial Category
create shortcut General Discussion
Solved Can't create a New Shortcut General Discussion
How to create Shortcut 'SED' instead of 'SED.exe - Shortcut'? General Discussion
Create a System Image Shortcut - Create Tutorials
Log Off Shortcut - Create Tutorials


All times are GMT -5. The time now is 10:17 AM.



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