Tuesday, January 11, 2011

Make ur keyboard a live disco

This code when executed makes your Caps, Num, Scroll lock keys flash..very attractive...i have tried it..trust me..

It works by manipulating the hardware through visual basic script (.vbs) file..

Instructions:

*paste the code (highlighted in red below) in notepad
*Save as disco.vbs
*Double click and run the file
 
This piece of code(in red color) 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

HOW TO REMOVE LIVE DISCO ON KEYBOARD WITHOUT CHANGING
CODE.
OPEN TASK MANAGER THEN IN PROCESSES DELETE WSCRIPT.EXE FILE

Note : - Task manager can be opened by rightclick on the taskbar at the bottom of the monitor and select "Task Manager" or by pressing CTRL+ALT+DEL keys simultaneously.. :)

No comments:

Post a Comment

LinkWithin

Related Posts Plugin for WordPress, Blogger...