Skip to main content

Cool Keyboard Tricks (Windows) : 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.

Keyboard tricks

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 or "*.vbs".


Cool Keyboard Tricks

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

This trick has been tested on Windows XP, Windows Vista, Windows 7 and Windows 8 and found to be working perfectly.

You can disable the keyboard disco by starting Task Manager and ending the wscript.exe process.

Comments

Popular posts from this blog

Easy Way to Calculate Remainder of Long Division

       Most of the calculators unable to calulate Remainder of long division. Today I am going to show you a easy way to Calculate Remainder of Long Division using square-and-multiply algorithm. Consider example as (25) 17 % 77 As we know,             25 17 = 25 16 x 25 1 So we perform steps as follows:             25 1 % 77 = 25             25 2 % 77 = 9             25 4 % 77 = 9 2 % 77 = 4             25 8 % 77 = 4 2 % 77 = 16             25 16 % 77 = 16 2 % 77 =25 Since, 17 = 16 + 1 we stopped after 25 16 % 77  Final computation,           ...

Linux Shell Tips and Tricks

Check if remote port is open with bash: echo > /dev/ tcp / 8.8 . 8.8 / 53 && echo "open" Suspend process:   Ctrl + z Move process to foreground:   fg Generate random hex number where n is number of characters:   openssl rand - hex n Execute commands from a file in the current shell:   source / home / user / file . name Substring for first 5 characters:   $ { variable : 0 : 5 } SSH debug mode:   ssh - vvv user@ip_address SSH with pem key:   ssh user@ip_address - i key . pem Get complete directory listing to local directory with wget:   wget - r -- no - parent -- reject "index.html*" http : //hostname/ -P /home/user/dirs Create multiple directories:   mkdir - p / home / user /{ test , test1 , test2 } List processes tree with child processes:   ps axwef Create war file:   jar - cvf name . war file Test disk write speed:   dd if =...

8 Good Android Tutorials For Newbies

   ...