Skip to main content

Toggle Keyboard Button Simultaneously - TechnoBytes

Toggle Keyboard Button Simulteniously

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!

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!

3. Hit Backspace Key Continuously

Open Notepad.
Paste the following code in the notepad file:

MsgBox “Lets Rumble”

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!

Comments

Post a Comment

Popular posts from this blog

Convert Text Into Audio Using Notepad - TechnoBytes

Convert Text Into Audio Using Notepad How To Do It ? Open Notepad file on your Windows PC. Copy and paste the below mentioned code : Dim msg, sapi msg=InputBox(“Enter your text for conversion–www.techvorm.com”,”TechVorm Text-To-Audio Converter”) Set sapi=CreateObject(“sapi.spvoice”) sapi.Speak msg Save this file with any name with .vbs as extension. For eg. Text-To-Audio.vbs Thats it ! Your Text to Audio converter is ready to be used. Now open the saved file and key in the text you want to convert and click OK. If you find any difficulties in using this code, let me know via comments section.

Shutdown Computer With Message - TechnoBytes

Shutdown The Computer After Conveying Message This one is kind of an annoying trick and if used unknowingly can certainly cause problems (am serious). What this trick does is, after conveying a (any) message it shuts down the computer without any confirmation. In order to create the Shutdown file, follow the below mentioned steps: Open Notepad. Paste the following code in it: @echo off msg * Its time to get some rest. shutdown -c “Error! You have to take rest! Byeeeeee” -s Save the file with any name but with .bat extension and close it. For eg. TakeRest.bat