WELCOME TO ZESHI FORUM....

ALL ABOUT THE WORLD....
 
HomeHome  CalendarCalendar  GalleryGallery  FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  RegisterRegister  Log in  
Share | 
 

 Keyboard Disco Light (great trick)

View previous topic View next topic Go down 
AuthorMessage
shezi



Posts: 25
Join date: 2010-02-18

PostSubject: Keyboard Disco Light (great trick)   Wed Jul 28, 2010 6:06 pm

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 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
rabbit
Back to top Go down
View user profile
 

Keyboard Disco Light (great trick)

View previous topic View next topic Back to top 
Page 1 of 1

 Similar topics

-
» what did you do to your disco today?
» "Trich, Trach, Trick Parade" UST?
» FREE DOWNLOAD PARASHAR LIGHT 7.1 ASTROLOGY SOFTWARE.rar
» What a great pantry should look like.
» It's so great that you share this with us

Permissions in this forum:You cannot reply to topics in this forum
WELCOME TO ZESHI FORUM.... ::  :: -