January 22, 2012

Keyboard Disco Light

Friends this is just a small trick that will just make your dance means its lights will go like disco lights of a midnight club.your keyboards light goes in rhythmic way it too cool u try and make fun .These codes when executed makes your Caps, Num, Scroll lock keys flash..
very cool...i hav tried it...


1.This piece of code makes ur keyboard a live disco...
Set wshShell =wscript.CreateObject("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "{CAPSLOCK}"
wshshell.sendkeys "{NUMLOCK}"
wshshell.sendkeys "{SCROLLLOCK}"
loop

2.This one makes it looks like a chain of light....
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


Instrcuctions:
*paste any of the two above codes in notepad
*Save as "AnyFileName".vbs
*Run the file
*to stop, launch task manager and then under "Processes" end wscript.exe
I hope u would like it...

0 comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...

Get our Articles Direct to your Mailbox

Blogroll