top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Disco Light Code - live disco on your keyboard using Visual Basic?

+1 vote
380 views

Disco Light Code#
Make a Disco Keyboards usually have small LEDs which indicate whether different types of locks are activated or not. Here is a trick to use the lights of your keyboard in a more creative manner in Windows.
This trick uses a simple Visual Basic Script which when activated makes
your Scroll lock, Caps lock and Num lock LEDs flash in a cool rhythmic way which gives the perception of a live disco on your keyboard. To make your own live disco, follow the steps given below:-

1. Open Notepad.
2. Copy paste the exact code given below:-

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

3. Save the file as Disco.vbs

Double click on the Saved file to see the LED lights on your keyboard go crazy and make your own cool disco.

posted Jan 8, 2016 by Abhay Dubey

  Promote This Article
Facebook Share Button Twitter Share Button LinkedIn Share Button

...