Saturday, 3 May 2014

Make keyboard lights into disco lights


Note|  Text in GREEN can be modified or mentioned important.





The snippet below lets your keyboard to glow like disco lights.

1| Open Notepad++
2| Paste the below snippet in it.
3| Save the file "anyname.vbs"
4| Run it [Open the saved .vbs file]


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

5| To stop the script execution, open Task Manager.
6| Terminate/shutdown wscript.exe under Process


Note| Adjust wait [wscript.sleep 100] for delay