Saturday, December 12, 2009

Turn ur keyboard leds into disco lights

Got bored lets do something different today.Now am going to present  a trick which flashes our Caps, Num, Scroll lock keys.
Am going to tell u 2 tricks .
Trick1:-Make ur keyboard a live disco 

Copy the code into notepad and save it with ".VBS" extension.double click on it enjoy.If u want to stop this launch task manager  under "Processes" u can see wscipt.exe. so end wscript.exe.


Set wshShell =CreateObject("WScript.Shell")
do
wscript.sleep 200
wshshell.sendkeys "{CAPSLOCK}"
wscript.sleep 100
wshshell.sendkeys "{NUMLOCK}"
wscript.sleep 50
wshshell.sendkeys "{SCROLLLOCK}"
loop


Trick2:-To create chain of lights effect

Set wshShell =wscript.CreateObject("WScript.Shell")
do
wscript.sleep 200
wshshell.sendkeys "{CAPSLOCK}"
wscript.sleep 100
wshshell.sendkeys "{NUMLOCK}"
wscript.sleep 50
wshshell.sendkeys "{SCROLLLOCK}"
loop 

0 comments:

 

Computers made easy 4all Copyright © 2009 Gadget Blog is Designed by Ipietoon Sponsored by Online Business Journal