中文 | English
AutoHJKL is a tools scripted via AutoHotkey. Its main feature is endure extra function to CapsLock key.
AutoHJKL contains some features for personal use. And you can script your personal features for it. It has seom flexibility and scalability.
It's a script binding HJKL keys to arrow keys at first and it's scripted via AutoHotkey. So I named it AutoHJKL.
You have two ways to run this script: Use release version if you don't know what is AutoHotkey; Or run script via AutoHotkey environment if you are AutoHotkey developer.
No matter which way you use it, it's recommended that run this script as an administrator to prevent the script from not working in some interfaces.
You can download release binary file on GitHub if you can see the GitHub Release page. (.exe)
Firstly, you need a AutoHotkey to run this script. You can only use AutoHotkey1.1 because of the sytax used. (Don't use AutoHotkey v2 cause it's still in Beta. And do not use deprecated 1.0 version too)
Right click AutoHJKL.ahk file and choose Run Script
after install AutoHotkey environment.
Use CapsLock plus the following keys to trigger features.
Many shortcut keys have certain rules. Some key combination is derived from the OS like Windows, so you do not have to memorize them.
Keys | Features | Comment |
---|---|---|
H J K L | ← ↓ ↑ → |
|
Shift + H J K L | Select ← ↓ ↑ → |
Can take effect with Shift to select a word. |
U I O P | PageUp Home End PageDown | |
Shift + U I O P | Select PageUp Home End PageDown | |
W A S D | Move mouse ↑ ← ↓ → |
|
Q E | Mouse Left Click Mouse Right Click |
|
R F | Mouse Wheel ↑ Mouse Wheel ↓ |
|
Shift + R、Shift + F | Mouse Wheel ← Mouse Wheel → |
|
T | Enter | Can take effect with Shift . |
B | Backspace | |
Shift + B | Delete a line | |
Ctrl + B | Delete a word | The edge of a word is decided by OS and Editor |
Use CapsLock + X C V , then press number key 0 - 9.
X means Cut; C means Copy; V means Paste.
For example:
After press CapsLock plus X , press 1 means Cut
(cause press X) to Clipboard 1
。
Note: The Clipboard feature was based on System Clipboard so that will cover the content of System Clipboard(Not applicable after v0.2) The Clipboard saved atclipboard
directory of script root dir, reboot/reload does not affect clipboard data.
After press CapsLock + Alt + W , then press 0 - 9 in 3sec to bind current active window to the number you pressed.
After press CapsLock + Alt + S , then press 0 - 9 in 3sec to active the window you binded.
Note: The id of binded window saved at
window
directory of root dir, reload script and reboot system does not affect window binded. But the binding records will be deleted if the script found window binded was closed.
Press CapsLock + Alt + T to pin the focused window.
Press CapsLock + Alt + H to hide the focused window.
Press CapsLock + Alt + D to show all hidden windows.
Press down Alt + Tab to call out Windows TaskSwitcher, release Tab and keep pressing Alt . Then you can use W A S D (Or H J K L) to move your focus; Press C to close the window which has focus.
Press CapsLock + Shift + Ctrl + R to Reload script. (Usually not required unless debugging user script)
Press Z to open Windows Terminal.
Press Alt + Z to open Cmd.
Press Ctrl + Z to open Powershell.
If the program can find a path on your focus window, Cmd / Terminal will open at this path.
The keymap below are omitted CapsLock key.
Keys | Map | Comment |
---|---|---|
Alt + R | F2 | If you have F2 key, it may be useless for you |