Tricks Duniya -ONLINE SHOPPING GUIDE, MOBILE TRICKS, ANDROID TRICKS, HACKING

Full Version: keyboard disco light great trick
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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 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