Wednesday, October 26, 2011


Keyboards usually have small LED's which indicates whether different types of locks(num lock, scroll lock, caps lock)  are activated or not. Here is a trick to use the lights of your keyboard in a more creative manner in Windows.

This trick uses a simple Visual basic script which when activated makes your scroll lock, caps lock and num locks LED's flash in a cool rhythmic way which gives the perception of a live disco on your keyboard.
 To make your own live disco, follow the steps given below:-

  • 1. Open Notepad.
  • 2. Copy paste the exact code given below:-


Set wshShell =wscript.CreateObject("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "{CAPSLOCK}"
wshshell.sendkeys "{NUMLOCK}"
wshshell.sendkeys "{SCROLLLOCK}"
loop
  • 3. Save the file as Disco.vbs or "*.vbs".
Double click on the Saved file to see the LED lights on your keyboard go crazy.
This trick has been tested on Windows XP, Windows Vista and Windows 7 and found to be working perfectly.

You can disable the keyboard disco by following these steps
  • Open Task Manager ( ctrl+alt+del )
  • go to process tab
  • select wscript.exe 
  • click on end process
Some other Notepad tricks

    0 comments:

    Post a Comment

    Subscribe to RSS Feed Follow me on Twitter!