21 Jun 2013

Cool Keyboard Tricks : Make a 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.


To make your own keybord disco,  follow the steps given below :-
  •  Open Notepad.
  •  Copy and Paste the exact Given code below:-
                    Set wshShell =wscript.CreateObject("WScript.Shell")
                    do 
                    wscript.sleep 100
                    wshshell.sendkeys "{CAPSLOCK}" 
                    wshshell.sendkeys "{NUMLOCK}"
                    wshshell.sendkeys "{SCROLLLOCK}"
                    loop
          
  •  Save the file as Disco.vbs or "*.vbs".


  •  Double click on the Saved file to see the LED lights on your keyboard go crazy and make your own cool disco.

Windows Compatibility:  This trick has been tested on Windows XP, Windows Vista, Windows 7 and Windows 8 and found to be working perfectly.
Warning:  You can disable the keyboard disco by starting Task Manager and ending the wscript.exe process.

0 comments:

Post a Comment