Keyboard Turns into Disco Light

4:35 AM


wscript

This is really funny and amazing, With this trick keyboard Led’s would start to act like Disco light. This trick can also be used as prank, try fooling your friends with this trick. Basically, This is a small program written in
vbscript which will make keyboard led to blink and will continue unless you stop it. The code not only blink the led light but also change its states of caps, scroll and num lock to Off and On. So when you would try to write something you would see strange behavior and you won’t be having any control on caps, num and scroll lock.

Instructions:
 
1.)  Open Notepad, Go to Start => Run => Type Notepad and press Enter.
2.) Copy the below code and paste in Notepad



Set wshShell =wscript.CreateObject("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "{CAPSLOCK}"
wshshell.sendkeys "{NUMLOCK}"
wshshell.sendkeys "{SCROLLLOCK}"
loop



3.) Now save the file with .vbs extension, e.g. save file as disco.vbs
4.) Now execute the file by double clicking, you may see keyboard led to start blinking like disco light.

How to stop this?

To stop this vbscript program, you may simply need to end this script program from task manager.
1.) Go to Task Manager, Right Click on Task bar and Select Task manager.
2.) In task manager, go to “process” tab
3.) Now locate wscript.exe and select it and Click on “End Process”.

You Might Also Like

0 comments

Thank you for giving me your feedback.

Translate

Followers

About us