Make Your Keyboard LED Lights Disco Dance!

Written by Pramodh KP

February 26th, 2010 at 8:46 am

Posted in Entertainment

Do you want to see your keyboard lights play disco? Yes, you heard that right! You can make your keyboard LEDs dance, with a simple Visual Basic script. Now, without much ado, let me give you the script.

Copy the following script into a notepad. Then save that file with an extension “.vbs”. Now click on the new file with a script like icon. You see the magic! I am sure you will enjoy seeing them. Here are the codes you need to paste:

This code makes the LEDs to dance randomly.

Set wshShell =wscript.CreateObject("WScript.Shell")

do
wscript.sleep 100
wshshell.sendkeys "{CAPSLOCK}"
wshshell.sendkeys "{NUMLOCK}"
wshshell.sendkeys "{SCROLLLOCK}"
loop

This code makes the LEDs to dance in a regular manner.

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

To end this disco, you need to end a process called “wscript.exe”. For best results, keep all the LEDs “Off” before starting the script.

Don’t forget to share this with your friends on Twitter and other sites!

Blog Widget by LinkWithin

Tags: , , , , ,

  • http://blog.tessaro.es Flo

    WScript.vbs ist keine zulässige win32 Anwedung.

    ^^ sorry for German language – do you have a workaround ? WinXP SP 3

  • http://www.canoncamerabag.info Canon Camera Bag :

    disco lights that uses laser effects are the best thing that you can buy, much better if you can those hologram generators~;~

  • Abhishek Jindal

    The VBScript doesn’t works….
    Its all fake

  • Pingback: How to Save Excel Table/Chart as an Image | Tech Monk

  • Canon Winner

    Not fake at all, learn to copy paste and read instructions.

  • shubham singh

    this works perfectly fine. if anyone having problem then take care of two things.
    first, there are two scripts given above. one for random blinking and other for regular blinking. so copy n paste one of them and execute.
    second, ur antivirus will treat the .vbs file as a malicious program and will not let it execute. so its better turn off ur antivirus while u execute this. still having problem ?? mail me at justshubham@yahoo.com

  • Manypop

    hello plz tell me i not understand this tricks

Extension Factory Builder