July 07, 2013

Keyboard Lights go DISCO | Cool Notepad Trick

19:35 Posted by Durga swaroop Perla No comments
We all use keyboard for typing. But how many of you can play with your keyboard?
This is an interesting and fun way to make the LED's on your Keyboard blink in Disco Style. Caps Lock, Num Lock, Scroll Lock are the three LED's which we'll use for this program. With the following code we can make them blink rhythmically. This trick can be used as a prank to fool your friends. This is a small program written in Visual Basic. So, if you are familiar with VB you can tweak it a little or else you can just work with the program given below. 

STEPS:
1. Open Notepad on your computer
2. Copy the following code and paste in to the Notepad file
Set wshShell =wscript.CreateObject("WScript.Shell")
do
wscript.sleep 400
wshshell.sendkeys "{CAPSLOCK}"