Author Topic: keyboard lights turned into disco lights  (Read 117 times)

0 Members and 1 Guest are viewing this topic.

Offline Akshay Aggarwal

  • Summer Club
  • Super Senior
  • ****
  • Posts: 308
  • Karma: +25/-8
  • Hacking is Fun

  • Activity
    10.4%
    • View Profile
    • Gadgets n More
keyboard lights turned into disco lights
« on: May 13, 2010, 09:54:51 PM »
You can make your keyboard LEDs dance, with a simple 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.

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.
njoy
HACKERSHACKERS


If u like my post plz gimme karma

 

+ Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Note: this post will not display until it's been approved by a moderator.
Name: Email:
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture: