Thursday, September 8, 2011

Make your keyboard lights glow like disco !

Time to have some fun with scripts ! Let us see how to make your keyboard lights go disco.No need to install any software,all we need is the notepad,so lets gets started
To make your keyboard light go disco copy the below code (without quotes) –

code:

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


Now paste it in the notepad and save the file with .vbs extension ,like “disco.vbs”.Now open the saved file and feel the magic.

Now to make you keyboard lights glow in a chain form copy the below code(without quotes)-

code:

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 


Now paste this code in notepad and save the file with .vbs extension ,like “chain.vbs”.Now open the saved file and feel the magic.
How to Stop this magic ?
To stop this magic open taskmanager ,then open the Processes tab and end the process named as “wscript.exe”.
 

0 comments:

Click to Add a New Comment

Post a Comment

Related Posts Plugin for WordPress, Blogger...