Make your keyboard a disco

This code makes the Caps, Num and Scroll lock lights on your keyboard flash on and off, very attractively.

Instructions:

    • Paste the code shown below into notepad
Set wshShell =wscript.CreateObject("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "{CAPSLOCK}"
wshshell.sendkeys "{NUMLOCK}"
wshshell.sendkeys "{SCROLLLOCK}"
loop
  • Save the file as disco.vbs (make sure you remove source:trickvilla.com/… from the copied text above)
  • Close notepad and then run the file

To remove the live disco, open task manager by pressing ctrl+alt+delete.

Then in processes tab delete wscript.exe

Works for Windows XP/Vista/7

Author: Ayush Mittal

Co-Founder, Admin at TrickVilla, am a tech enthusiast. I am into programming, web-designing and developing.

13 thoughts on “Make your keyboard a disco”

  1. It’s a pity you don’t have a donate button! I’d definitely donate to this fantastic blog! I suppose for now i’ll settle for book-marking and adding your RSS feed to my Google account. I look forward to fresh updates and will share this website with my Facebook group. Talk soon!

Leave a Reply

Your email address will not be published. Required fields are marked *