Saturday 28 July, 2012

Toggle Keyboard Button Simultaneously


Toggle Keyboard Button Simultaneously

Using Notepad (and VB) you can set different keys on your keyboard to toggle continuously. Following are the 3 tricks using which different keys can be set to toggle simultaneously. Follow the steps given under each head to try out the tricks.
    • Open Notepad.
    • Paste the following code in the notepad file:
Set wshShell =wscript.CreateObject(“WScript.Shell”)
do
wscript.sleep 100
wshshell.sendkeys “{CAPSLOCK}”
loop
    • Save the file with anyname and .vbs extension. and close it.
    • Now open the newly created file and see how the caps lock key behaves on your keyboard!

No comments:

Post a Comment