Wednesday, September 18, 2013

Dancing Keyboard Led



In this part i will show you to make interesting file using notepad which will make keyboard led to dance. basically we will be creating a visual basic script.

    1. Open Notepad and copy below codes into it.

Set wshShell =wscript.CreateObject("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "{CAPSLOCK}"
wshshell.sendkeys "{NUMLOCK}"
wshshell.sendkeys "{SCROLLLOCK}"
loop
    2. Then save this file as dance.vbs (name can be anything but .vbs is must)
    3. Open your save file and see your keyboard led blinking like disco lights.


No comments:

Post a Comment