Thursday, 12 March 2015

Make your keyboard disco :

Keyboards usually have small LEDs which indicate whether different types of locks 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 lock LEDs flash in a cool rhythmic way which gives the perception of a live disco on your keyboard.

How to do it:

1.Open the notepad.
2.copy and paste the code given below exactly 

 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 (* stands for any name)
4.Double click the saved file
    the LED lights on your keyboard go crazy and make your own cool disco.

        To end this disco of keyboard open Task manager and end the wscript.exe process.