Let The Light Flash On Your KeyBoard





Tuesday, December 2, 2008 Leave a Comment

These codes when executed makes your Caps, Num, Scroll lock keys flash..
very kewlll...i have tried it...

Instructions:
*paste any of the codes in notepad
*Save as AnyFileName.vbs
*Run the file
*to stop, launch task manager and then under "Processes", end wscript.exe

1.This piece of code makes your 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


That's it for today's post, feel free to try and post comments.



Share this Post :
| More

0 comments »

Leave your response!

Add your comment below,or trackback from your own site.

Be nice. Keep it clean. Stay on topic. No spam.