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 !!!!
11 Comments
14 years ago
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.
11 years ago on Introduction
I made one of these a long time ago but my HDD failed and I forgot the code... Nice Instructable!
12 years ago on Introduction
That's pretty cool, but I have a function lock light on mine? I tried doing a "{FUNCTIONLOCK}" but it didn't work!
NM
Reply 12 years ago on Introduction
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.
Reply 12 years ago on Introduction
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.
Reply 12 years ago on Introduction
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.
13 years ago on Step 1
couldn't you just make a loop?
Reply 13 years ago on Introduction
yes you could of used many things. But this was the most simple way i could do it without confusing people.
14 years ago on Introduction
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!
14 years ago on Introduction
Nice, Just Need to make them stay on longer.
14 years ago on Introduction
Nice, already know enough to do this but i never thought about using capslock and all that.. - Sweet ible, Chris