polewsushi.blogg.se

Autohotkey keys
Autohotkey keys









autohotkey keys autohotkey keys

Running Your AutoHotKey ScriptĪfter you’ve saved your AHK file, navigate to where it’s saved at in Windows Explorer. Saving your file as an AHK lets your system know that it’s intended to be compiled and run by AutoHotKey. Then, type in a filename of your choice and be sure to append the “. After you choose a location to save it, change the “ Save as type” to “ All Files”. In this example, we’ve chosen the “Scripts” folder within our Documents.

autohotkey keys

You’ll want to pick a permanent spot for this, probably not on your desktop, because I’ll show you how to get this script to run at startup later. The next step is to save the script so that it can be run. In a blank document, type the key’s reference name followed by “ ::return”.Ĭan you believe that’s the only line of code you need to disable the key? If you decide that you want to disable more than one, you can repeat this same one-liner, on a new line, for each additional key.

autohotkey keys

The left column shows the reference name(s) and the right column shows what key it corresponds with. On this page, you can see that AutoHotKey references that key as “ CapsLock”. Head over to the AutoHotKey documentation website to find a list of all supported keys.įor the sake of this example, we want to disable the Caps Lock key. The first step is to pick out which keys you want to disable. Learning a programming language is hard, but we’re here to simplify how you can use the powers of AutoHotKey to disable the input of any of your keyboard’s keys. Think of AutoHotKey as a simplified programming language that caters specifically to automation and creating Windows keyboard shortcuts. AutoHotKey allows you to create your own custom scripts that it will compile and run. Now that you’ve downloaded AutoHotKey, it’s important to understand what it does. We don’t need to launch AutoHotKey just yet. When the installation is complete, you can close out of it entirely. Continue through the installation prompts using the default options, shown above.











Autohotkey keys