Monday 17 September 2012

Windows Keyboard Tricks : Make a Disco


By on Monday, September 17, 2012

Keyboards usually have small LED's which indicate whether different types of locks are activated or not. Now, why not make some creative use of these LED's and create your own Disco right @ your Desktop. Here is a trick to use the lights of your keyboard to create a Disco




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 any other name. Make sure you end it with .vbs extension. This trick has been tested on all versions of Windows after Xp. 

4. Double click on the file Disco.vbs to start having fun!

Note: To stop the Script, Start task manager. You can do so by pressing Alt+Ctrl+Del together or Ctrl+Shift+Esc together. Go to the Process tab and end the process wscript.exe 

About Shaunak

A tech lover who loves writing and sharing with people.

1 comments:

  1. Great Post. Loved the effect on my PC. Its hard to end the effect though

    ReplyDelete