The Caps Lock key takes up prime keyboard realty, and it isn’t actuation its weight. This simple AutoHotkey script can flip Caps Lock into a modifier key thus you'll be able to use it for customizable shortcuts.
The Basics
This script can allow you to press Caps Lock+G to quickly Google text from anyplace in Windows or press Caps Lock+D to seem up the definition of a word. These shortcuts area unit customizable, of course.
Best of all, this clever script still helps you to use Caps Lock usually. you'll be able to toggle Caps Lock on and off by quickly pressing it double. If you don’t, Caps Lock can perform as a modifier key for shortcuts.
AutoHotkey one zero one
AutoHotkey may be a free Windows application that sits within the background and runs scripts. you'll be able to write these scripts yourself or transfer them. Scripts usually stay up for a keypress associate degreed perform an action. during this manner, AutoHotkey may be a fast manner of remapping keys in Windows or assignment completely different actions to keys.
For example, we’ve shown however you'll be able to use AutoHotkey to disable the Windows key, preventing it from gap the beginning menu and taking you out of full-screen computer games. No got to pry the keycap off the keyboard.
Install AutoHotkey and acquire the Script
Download AutoHotkey and install it to start. Next, transfer the CapsLock Modifier script.
Extract the AHK script file from the nada archive file and place it in any folder on your pc. To run it with AutoHotkey, right-click the script and choose “Run Script.”
The script is currently running within the background. To toggle Caps Lock on and off, quick double-faucet the Caps Lock key.
If you don’t double-tap, Caps Lock simply functions as a modifier key. With the functions designed into the script, you'll be able to use the subsequent shortcuts anyplace in Windows:
Press Caps Lock + d to seek out the definition of a specific word.
Press Caps Lock + g to go looking Google for the chosen text anyplace in Windows.
Press Caps Lock + t to seek out the chosen word in a very synonym finder.
Press Caps Lock + w to go looking for the chosen text on Wikipedia.
Want additional shortcuts? you'll be able to produce your own with a bit data of AutoHotkey scripts.
To control AutoHotkey, seek for the AutoHotkey icon in your notification area—it features a inexperienced background with a white H thereon. to prevent running the script, simply right-click the AutoHotkey icon and choose “Exit.”
How will It Work?
If you’d wish to see what the script will, right-click it and choose “Edit Script” instead. this may open the script in tablet, and you'll be able to examine its code. The script is pretty short and straightforward to know. we tend to suggest not downloading and running strange scripts while not staring at them and understanding them initial.
This script was sent to U.S. by Dave Kellog. Here’s the magic a part of the script that creates Caps Lock perform as a modifier key if it’s ironed double.
This bit waits to visualize if Caps Lock is ironed double and sets Caps Lock on or off. Otherwise, the script captures Caps Lock and uses it for modifier shortcuts.
The rest of the script contains the cutoff actions and a useful writing board perform that saves the contents of your writing board and restores them. That half is pretty necessary, because the modifier functions use the writing board to require actions on the chosen text.
0 Comments