best keyboard tricks and hacksKeyboard has generally small LED lights to show whether or not various locks (caps lock, scroll lock and num lock) are activated. You can use these LED lights in a more cooler way by this keyboard trick.

This keyboard trick uses small piece of code (visual basic script) which is when activated makes the LEDs of caps lock, num lock and scroll lock to glow in a rhythmic way.

Now lets change our keyboard into a disco:

  1. Open notepad
  2. Now copy the code given below and save the file as disco.vbs or *.vbs 
Set wshShell =wscript.CreateObject("WScript.Shell")
 wscript.sleep 100
 wshshell.sendkeys "{CAPSLOCK}"
 wshshell.sendkeys "{NUMLOCK}"
 wshshell.sendkeys "{SCROLLLOCK}"

Top keyboard tricks and hacksNow you can open the saved file to see the LED lights going crazy which gives the perception of disco on your keyboard.

If you want to close this keyboard trick then open task manager and end wscript.exe task.

YOU MAY ALSO LIKE: Best Command Prompt Tricks

This keyboard trick works flawlessly on windows 8, 8.1, 7, XP and vista.

Now save the code in your notepad and have fun!