Pages

Cool keyboard trick

Monday 4 March 2013
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 (code) which when activated makes your Scroll lock, Caps lock and num lock LEDs flash in a cool rhythmic way and your keyboard caps lock lights will blink.

Keyboard tricks

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 anything which you want with vbs extension.



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



You can disable the keyboard disco by starting Task Manager and ending the wscript.exe process.

No comments: