Pages

Thursday, 16 May 2013

Keyboard Disco Lights

Keyboards usually have small LED's which indicates weather 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 manners in windows.

This trick uses a simple visual basic script which when activated makes your scroll lock, caps lock and num lock 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
Double click on saved file to see LED lights on your keyboard go crazy.
This trick has been tested on windows XP, Vista and 7 and found to be working perfectly.

You can disable the keyboard disco by folowing these steps:
  • Open task manager (ctrl+alt+del)
  • Goto process tab
  • Select wscript.exe
  • Click on end process.

No comments:

Post a Comment