Introduction: Keyboard Led Loader

if you have a keyboard like mine this will work it might work on some laptops but it uses them LEDs above your number pad ... the numlock capslock and scrolllock LEDs....

The vbs will use the sendkeys command to make this work...

this vbs will make them go in a row like it's loading .. if there in a different order on your keyboard you can change order in vbs .. its not very hard.

Please enjoy and comment.

Step 1: How It Works

all this code does is:


make object - for later
sleep
send keys - numlock
sleep
send keys - caps lock

the script in vbs:

set shellobj = CreateObject("WScript.Shell")
wscript.sleep 1000
shellobj.sendkeys "{NUMLOCK}"
wscript.sleep 300
shellobj.sendkeys "{CAPSLOCK}"
wscript.sleep 300
shellobj.sendkeys "{SCROLLLOCK}"
wscript.sleep 300
shellobj.sendkeys "{SCROLLLOCK}"
shellobj.sendkeys "{CAPSLOCK}"
shellobj.sendkeys "{NUMLOCK}"

and so on ...
yo just copy this and paste number of times you want it to do it.
its really not a very hard script!

Step 2: Download

hope you like my keyborad loader

you can download the vbs below.

!!!!!!! REMEBER !!!!!!!!
Make sure you rename the vbs to blah.vbs not blah.itsavbs !!!!

Comments

author
admin made it!(author)2008-12-22

This project looks awesome but there isn't enough documentation of you actually making it to be a full Instructable. There are two things which you could do. 1) If you happen to have images of you making your project you can create some more steps, add those additional photos into your Instructable and then republish your Instructable. 2) If you don't have any more pictures of you working on your project, that's ok too. That just means that your project is better suited to be submitted as a slideshow. Your images are already in your library, and you can use the same text that you have already written for your Instructable so it should only take a few minutes to create your slideshow and show the world what you made! Thanks for your submission and let me know if you have any questions along the way.

author
account3r2 made it!(author)2012-04-21

I made one of these a long time ago but my HDD failed and I forgot the code... Nice Instructable!

author
NatNoBrains made it!(author)2011-02-24

That's pretty cool, but I have a function lock light on mine? I tried doing a "{FUNCTIONLOCK}" but it didn't work!
NM

author
iRule made it!(author)2011-04-02

do you mean the function lock as in the fn key usually on laptops? if so, i looked around and there doesn't seem to be a straight forward way to do it. Although i could easily of missed something, i would say ask Google about it and try different things out, but as im on my PC i wouldn't know if it worked or not.

author
NatNoBrains made it!(author)2011-04-02

Yeah, beacuse on my PC keyboard it has a '1' for Num Lock, an 'A' for Caps Lock, an up facing arrow for Shift and an 'F' for Function Lock.

author
iRule made it!(author)2011-04-03

Looking this up it seems that the F lock key might just be a switch in the hardware of the keyboard which means it cannot be changed through programming, sorry.
The source.

author
ShadowOfGhost made it!(author)2010-02-18

couldn't you just make a loop?

author
iRule made it!(author)2010-02-21

yes you could of used many things. But this was the most simple way i could do it without confusing people.

author
Kaelessin made it!(author)2009-07-14

you can use a loop to save some typing and allow it to last much longer a good option would be to set this up as a function with parameters for speed and duration (set loop length to duration and sleep to speed). Then you could call this any time a program you write is loading something!

author
XOIIO made it!(author)2009-05-23

Nice, Just Need to make them stay on longer.

author
Lance+Mt. made it!(author)2009-03-06

Nice, already know enough to do this but i never thought about using capslock and all that.. - Sweet ible, Chris

About This Instructable

4,250views

9favorites

License:

More by iRule:Screen Lock (VB.NET)VBS Tutorial - BasicsBatch Maker
Add instructable to: