Wednesday, September 14, 2011

Small fun with Notepad |caps Lock Trick

Leave a Comment

What fun are we going to make with notepad?   
     Below you can find the Visual Basic Script code.  This code make the caps lock light blink continuously.  If you run this script twice the rate of blink increases and alternatively NumLock light start to blink with CapsLock.

VBS CODE:

Set wshShell =wscript.CreateObject(“WScript.Shell”)
do
wscript.sleep 100
wshshell.sendkeys “{CAPSLOCK}”
loop
Save this file with .vbs extension (for eg: capslock.vbs)
Double clicking file will make the caps lock light blink.
Try this in your pc or send it to your friend

 No need to worry. You can stop the process .
Go to Task Manager(press alt+ctrl+del). Under the Process tab you can see the capslock file. Right click and select end process.

0 comments:

Post a Comment