Monday, October 17, 2011

D....I......S.....C.....O

This is a real funny trick with which you can amuse you friends.It does not require any programming skills on your part.This trick will make your keyboard LED’s blink like disco lights.

All of this works on a vb script code!!

relax you dont need vb to execute it!!!
Just use your one true friend!!!
NOTEPAD!!!



1.Open notepad.You can open notepad by doing a right click on your desktop and then new->text document.


2.Copy and paste the code below into the notepad

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





3.Save the file with name disco.vbs


4.Double click on the saved file and your keyboard Led’s will start blinking like disco lights.


5.To stop the disco lights open task manager.You can open task manager by doing a right click on your taskbar and then selecting task manager.
 or
hit ctrl +shift+Esc

6.Now locate wscript.exe and select it.Click on “ End Process “.




basicly the code is telling your your light to flip after evey 100 mili second
soooooo we have the disco!!

1 comment: