Skip to content

How To Blog

how to

  • Best handheld calculator 2020 Calculator
  • Best calculator watch 2020 Calculator
  • How do I fix chromecast source not supported? How-To
  • pesco bill calculation

    The pesco bill calculator is online check calculator. PESCO – Peshawar Electric Supply Company This help you to calculate you bill.pesco bill calculation.  View Calculator

  • Configure NGINX Reverse Proxy – Step by Step How-To
  • How To Create Smart Mailboxes In Mail On Mac Tutorials
  • The Quick Guide To Creating Stunning Google Slides Google Software/Tips
  • How to Upload Music to YouTube Music From Mobile How-To

Disable Keyboard Keys in Windows with AutoHotKey

Posted on October 8, 2020 By blog_786 No Comments on Disable Keyboard Keys in Windows with AutoHotKey

When you sit at the keyboard, there is not so much unpleasantness as accidentally pressing the intermittent key. For example, the Windows key can minimize some full-screen applications.

After doing that, pressing the Alt key can sometimes block all keystrokes completely. If you accidentally hit these keys without realizing it, it can cause serious inconvenience and confusion.

Many of the common solutions to disable key entry in Windows are outdated. For example, Simple Disable Key is no longer free software. Both SharpKeys and KeyTweak are not officially supported by the latest versions of Windows. So what do you do when you have no options? You build yourself!

Disable Keyboard Keys in Windows with <a href=AutoHotKey” />

But don’t be afraid – it’s very simple. In this article, we’ll show you how you can disable any key you want using a free Windows app called AutoHotKey The best part is that it doesn’t require a complicated setup or reboot to take effect.

Download and install AutoHotKey

The first step to disabling keyboard input on your Windows computer is to download a program called AutoHotKey . The link to the latest version will be at the top of the page in a blue button. After downloading AutoHotKey, run the installer.

– /

Disable Keyboard Keys in Windows with <a href=AutoHotKey” />

Proceed with the installation using the default options shown above. When the installation is complete, you can close it completely. We don’t need to run AutoHotKey yet.

Build your own AutoHotKey script

Now that you’ve downloaded AutoHotKey, it’s important to understand what it does. AutoHotKey allows you to create your own scripts that it will compile and run. Think of AutoHotKey as a lightweight programming language specifically designed to automate and create Windows keyboard shortcuts .

Learning a programming language is tricky, but we’re here to make it easy for you to use AutoHotKey‘s capabilities to disable any key input on your keyboard.

Choose your keys

Choose your keys

The first step is to choose which keys you want to disable. Go to the AutoHotKey documentation site to find a list of all supported keys .

Disable Keyboard Keys in Windows with <a href=AutoHotKey” />

For this example, we want to disable the Caps Lock key. On this page, you can see that AutoHotKey refers to this key as “CapsLock”. The left column shows the name (s) of the link, and the right column shows which key it matches.

Open a text editor

Open a text editor

Next, open any text editor. It may even be the Notepad that we will be using. In a blank document, enter the key reference name followed by “:: return”.

This is what our Caps Lock example looks like:

Disable Keyboard Keys in Windows with <a href=AutoHotKey” />

Can you believe this is the only line of code needed to disable the key? If you decide you want to disable more than one, you can repeat the same single line of text on a new line for each additional key.

Save your script

Save your script

The next step is to save the script so that it can be run. You will want to choose a permanent location for this, perhaps not on your desktop, because I’ll show you how to make this script run on startup later.

Disable Keyboard Keys in Windows with <a href=AutoHotKey” />

In this example, we have selected the “Scripts” folder in our documents. After choosing the location to save, change the “File Type” to “All Files”. Then enter a filename of your choice and be sure to add the extension “.ahk”. It is very important.

Saving a file as AHK lets your system know that it is meant to be compiled and run using AutoHotKey

Run your AutoHotKey script

After saving the AHK file, navigate to where you saved it in Windows Explorer . You should see that the file icon is a piece of paper with an “H” on it, which means it is associated with an AutoHotKey

Disable Keyboard Keys in Windows with <a href=AutoHotKey” />

Double click the file. You may not notice anything, but you should see an AutoHotKey icon in the taskbar of the taskbar.

Disable Keyboard Keys in Windows with <a href=AutoHotKey” />

When you see it, it may be hidden, so you will need to click the up arrow icon to show the hidden taskbar icons in this case.

Now try using the key you disabled. It works? If not, then you have successfully disabled the key! If so, you may have done something wrong. Read the instructions carefully and try again.

Control your AutoHotKey software

Right-clicking on the AutoHotKey icon in the taskbar of the taskbar opens the following menu:

Disable Keyboard Keys in Windows with <a href=AutoHotKey” />

It is worth touching on two important parameters: “Reload this script” and “Suspend hotkeys”.

There may come a time when you want to edit the AutoHotKey script while it is actively running. Maybe you want, for example, to add another key to lock. After saving the changes to the AHK file, select the Reload this script option. This will allow you to download the changes to the script without having to close and reopen the file.

If you ever want AutoHotKey not to block any keys, select the Pause Hotkeys option. The AutoHotKey taskbar icon changes from “H” to “S” to indicate that hotkeys are locked. To re-enable all hotkeys, repeat the same action again.

The script runs on startup

Now that your script is working, you may decide that it is so important that you want it to automatically start with Windows. It’s easy to do.

Disable Keyboard Keys in Windows with <a href=AutoHotKey” />

Press Windows Key + R to open the Run window. Enter “% appdata%” in it and press Enter. You will be taken to the “Roaming” folder inside “AppData”.

Here navigate through the following folders: Microsoft Windows Start Programs Startup. In another Windows Explorer menu, navigate to the folder where you saved the AutoHotKey script. Right-click it and choose Create Shortcut. This will create a shortcut to the file in the same folder.

Drag this shortcut to your Startup folder.

Disable Keyboard Keys in Windows with <a href=AutoHotKey” />

Adding a script to startup in this way allows you to make changes to the original file location rather than navigating to that folder each time. If you make frequent edits, it will save a lot of time.

That’s all it takes. With one simple line in your AutoHotKey script, you can disable any standard key on your keyboard and get rid of hours of headache. Don’t search the Internet for a simple and free solution to this problem, follow this guide and make it yourself!

–

How-To

Post navigation

Previous Post: How to Use If and Nested If Statements in Excel
Next Post: Automatically Scroll Down Pages in Your Web Browser

Related Posts

  • How to Take Screenshots on Samsung Galaxy Watch And Gear S3
  • iPhone Not Sending Text Messages? Here are 12 Ways to Fix It How-To
  • How to Post on Instagram Using Google Assistant How-To
  • How to Watch Apple TV+ on Roku, FireFox, Android TV and Chromecast How-To
  • Unlock Windows With Android Fingerprint With This New App How-To
  • baby monitor app android How-To

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

  • Apple Watch
  • Computer Tips
  • Cool Websites
  • Free Software Downloads
  • Gadgets
  • Gaming
  • General Software
  • Google Software/Tips
  • Hardware
  • How-To
  • iOS
  • iPad
  • iPhone
  • Linux Tips
  • macOS
  • MS Office Tips
  • Networking
  • Product Reviews
  • Reviews
  • Safari
  • Smart Home
  • Smartphones
  • Software Reviews
  • technology
  • text
  • Tutorials
  • Uncategorized
  • Urdu Books PDF
  • Web Site Tips
  • Windows
  • Windows 10
  • January 2023
  • December 2022
  • November 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • December 2019
  • July 2019
  • May 2019
  • April 2019
  • January 2019
  • December 2018
  • November 2018
  • October 2018

2021 Android ) Apple apps Best browser Chrome Closing words Concluding remarks Download email Error Facebook From Google Image Internet Keyboard Mac make Movies Music online Packaging phone? Photos Print Search Shortcuts sites Switch Time Tips Tricks turn using Video Videos Watch What With Word Working? your YouTube

  • What are the Best Programming Languages to Learn in 2020? Reviews
  • Best ti-36x pro scientific calculator 2020

    Best ti-36x pro scientific calculator 2020

  • How to Backup, Reset or Restore Your iPhone, iPad or iPod Computer Tips
  • 2022’s 7 Best Wearable Electronics Gadgets
  • Best ti 30x iis calculator 2020 Sheets ()
  • How to Bypass Copy Protection on Old iTunes Music Files How-To
  • 10 Tips To Use Dropbox More Effectively Computer Tips
  • How to Use Firefox Addons Computer Tips

Copyright © 2023 How To Blog.

Powered by PressBook News WordPress theme

Manage Cookie Consent
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
Manage options Manage services Manage vendors Read more about these purposes
View preferences
{title} {title} {title}
Go to mobile version