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.
1. Caps Lock Key
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!
you can download file from hear.
2. Hit Enter Key Continuously
Open Notepad.
Paste the following code in the notepad file:
Set wshShell=wscript.Createobject("WScript.Shell") |
do |
wscript.sleep 100 |
wshshell.sendkeys"~{enter}" |
Loop |
Save the file with any name and .vbs extension and close it.
Now open the newly created file and see how the enter key behaves!
you can download file from hear.
3. Hit Backspace Key Continuously
Open Notepad.
Paste the following code in the notepad file:
Set wshShell=wscript.Createobject("WScript.Shell") |
do |
wscript.sleep 100 |
wshshell.sendkeys"{bs}" |
Loop |
Save the file with any name and with .vbs extension and close it.
Now open the newly created file and see how the key behaves!
you can download file from hear.
In order to end the vbs script (stop continuous key presses), open task manager and end the wscript.exe process as shown in image below.
At MyAssignmenthelp, our professional writers provide custom assignment help for the students who want to excel in their academics. We offer assignment help for marketing, management, finance, accounting, law
ReplyDelete