CapsLockX is a modular hotkey script engine based on AutoHotkey. It allows you to operate your computer efficiently like a hacker in a movie without ever taking your hands off the keyboard. It comes packed with functions that are intuitive and easy to use: enhanced editing, virtual desktop and window management, mouse simulation, in-app hotkey enhancement, JS mathematical expression calculation, and many more multifunctional features are there for you to personally customize.
Here is a tiny online demo to show you the feeling how WASD Mouse + HJKL Keyboard works - Try CapsLockX
Docs in Languages: English Docs (ChatGPT Translated) 简体中文 説明 See Any Language Docs (Google Translated)
CapsLockX was created to address several common frustrations that many computer users face on a daily basis. Here are some of the main reasons why CapsLockX exists:
-
Efficient Window Management: Modern computer usage often involves juggling multiple windows and virtual desktops, especially for professionals working on complex projects. CapsLockX provides intuitive hotkeys for managing virtual desktops and windows, making it easy to switch between tasks seamlessly without losing focus.
-
Enhanced Text Editing: Moving between the typing area and the editing control area can be cumbersome, especially for heavy typists or programmers. CapsLockX introduces Vim-like keybinds and other enhancements that allow for efficient text navigation and editing directly from the keyboard.
-
Mouse Simulation: Constantly switching between the keyboard and the mouse can disrupt workflow and lead to repetitive strain injuries (RSI). CapsLockX solves this by enabling comprehensive mouse emulation using the keyboard, allowing users to perform mouse actions with simple key combinations.
-
Streamlined Shortcut Management: Different applications often have their own sets of shortcuts, which can be hard to remember or inefficiently placed. CapsLockX provides a unified way to enhance and customize hotkeys within various applications, allowing for a more cohesive and efficient working environment.
-
Mathematical Expression Calculation: For users who frequently need to perform calculations, CapsLockX offers a way to quickly evaluate JavaScript mathematical expressions directly from the keyboard, streamlining workflows that involve frequent calculations.
-
Multifunctional Customization: CapsLockX is modular and highly customizable, allowing users to tailor the hotkey scripts to their specific needs. Whether you need specific functions for coding, writing, designing, or managing tasks, CapsLockX can be adapted to meet those requirements.
-
Portable and Open Source: CapsLockX is designed to be a portable tool that can be easily transferred and used across different systems. As an open-source project, it also provides transparency and community-driven improvements, ensuring that the software remains secure and continuously enhanced.
In summary, CapsLockX aims to make computer interaction more efficient, ergonomic, and customized to individual workflows, helping users operate like a hacker in movies, quickly achieving their tasks without breaking concentration.
Simple Quick Start Tutorial (Completion of this section is considered the beginning of mastering CapsLockX)
CapsLockX has four core functions: window management, mouse emulation, arrow key emulation, and application-specific hotkeys. This beginner tutorial will teach you the first three core functions.
First, get CapsLockX: download this zip file: Download JSDelivrCDN - Release Package.zip
After unzipping, open CapsLockX.exe
within the CapsLockX folder, get past the simple beginner tutorial, and then try out the following functions in the left and right-hand feature areas to understand the capabilities of CapsLockX.
Once CapsLockX is started, it will not affect the functionality of other keys on your keyboard. The following features are triggered only when you press CapsLockX + combination keys
.
Left-hand feature area:
- Window management:
CapsLockX + 1234567890
switches to then
th virtual desktop,CapsLockX + ZXCV
for window operations (window switching, window closing, window arranging, transparency top-most). - Mouse emulation function: Press
CapsLockX + WASD
to move the mouse (as simple as moving a character while playing a game), pressCapsLockX + QE
for left and right mouse clicks,CapsLockX + RF
for scrolling up and down.
Right-hand feature area:
- Arrow key emulation: Open any text editor (such as Notepad), press
HJKL
to move the cursor,YOUI
to move the page
After familiarizing yourself with the basic features, consult the quick reference guide below for more advanced functionalities.
The source code package is the software itself, no need to compile, just unzip and use the green portable software. Source code + program package, the first one is recommended (the fastest).
- Download JSDelivrCDN - Release Package.zip
- Alternative Download CloudFlareCDN - Release Package.zip
- Alternative Download GitHub - Release Package.zip
- Alternative Download GitHub - Repository Program Package.zip
- Alternative Download BitBucket - Repository Program Package.zip
- Alternative Download for Mainland China Users - Gitee - Repository Program Package.zip (login required)
You can use it after unzipping. Methods to start and set to auto-start: Double-click CapsLockX.exe
to start the script. To add a startup item, enter shell:startup in the start menu - run, then create a shortcut for this program, and throw it in.
Command Line Installation (recommended for advanced users, can be updated automatically) 🖥️ Install by command
Choose any of the following, the 4th one is recommended for users in mainland China
npx capslockx@latest
, -- Directly run with NPX, always run the latest version, recommended (requires installation of NodeJS)choco update capslockx && capslockx
-- Use Chocolatey to install and use cup for automatic updates, recommendednpm i -g capslockx && npx capslockx
-- npm global installationgit clone https://gitee.com/snomiao/CapslockX && .\CapsLockX\CapsLockX.exe
-- Mainland China source code package (green software package) unzip and use, recommended for mainland China usersgit clone https://github.com/snolab/CapsLockX && .\CapsLockX\CapsLockX.exe
-- GitHub source code package (green software package) unzip and usewinget capslockx
-- TODO #40scoop capslockx
-- TODO #41
- Hold down
CapsLockX
to enter CapsLockX mode, at which point your keyboard will become a functional keyboard like the default mode of Vim (see key positions below). - Press
CapsLockX+Space
at the same time to lockCLX
mode, whereCLX
will be maintained untilCapsLockX
is pressed again next time. Origin of Function
CapsLockX by default loads some commonly used modules. The features and how to use them are listed below.
If you don't need certain modules, you can also directly delete the .ahk
files in the ./Modules
directory, and then press Ctrl + Alt + \
to reload.
You can also write your own my-ahk.user.ahk
and put it in the ./User/
directory, and CapsLockX will automatically recognize and load them.
Typically, a set of tasks a user is currently performing will include multiple windows. These windows combined can constitute a usage scenario, while multiple scenarios are likely to run at the same time, and some of them will run for a long time, without interference. This will involve a lot of window arrangement and virtual desktop switching operations, in these aspects, using CLX to manage your windows will bring a terrifying efficiency improvement.
Below are some examples of scenario combinations: Suppose you can study, work on several different jobs, chat with friends, play games, listen to BGM in the background, and have a paused movie ready to watch with family in the evening.
- Virtual desktop 1: Planning scenario: Schedule window + Multi-platform sync notes, e.g.: Google Calendar + Notion + Gmail.
- Virtual desktop 2: Learning scenario: Book reading window, note-taking window, e.g.: OneNote + Calibre, etc.
- Virtual desktop 3: Work scenario 1 (Front-end Development): Code editing + Documentation querying + Browser, e.g.: Chrome(dev) + VSCode + stackoverflow, etc.
- Virtual desktop 4: Work scenario 2 (Back-end Development): Code editing + Documentation querying + Backend terminal + Database browser, e.g.: DBeaver + VSCode(+bash) + stackoverflow, etc.
- Virtual desktop 5: Work scenario 3 (Script Development): Code editing + Documentation querying + Script target, e.g.: VSCode(+bash) + stackoverflow etc.
- Virtual desktop 6: Work scenario 4 (3D Modeling and Rendering): 3D modeling software + Material searching, e.g.: Blender + Chrome.
- Virtual desktop 7: Work scenario 5 (3D Printing Slicing): Slicing software + Model searching window, e.g.: Cura + thingiverse
- Virtual desktop 7: Work scenario 6 (Video Processing): Editing + Material management, e.g.: PR + Everything.
- Virtual desktop 7: Work scenario 7 (Video Processing): Post-production + Documentation tutorial, e.g.: AE + Chrome.
- Virtual desktop 8: Writing scenario: Writing window, material referencing window, e.g.: Obsidian + Chrome (Google Scholar Index), etc.
- Virtual desktop 9: Communication scenario 1: Casual chats, e.g.: Telegram + Reddit + .
- Virtual desktop 9: Communication scenario 2: Work communication, e.g.: Slack + Skype + Gmail.
- Virtual desktop 9: Communication scenario 3: Presentation, e.g.: Google Meeting + (Vscode | Page application | Requirements document | Feedback document).
- Virtual desktop 0: Entertainment scenario 1: Playing games, e.g.: Age of Empires, Minecraft, Skyrim, Overcooked 2, etc.
- Virtual desktop 0: Entertainment scenario 3: Watching movies, listening to songs, e.g.: PotPlayer, Youtube Music, etc...
- ... More examples are welcome. Provide Issues or PRs for supplementation.
Snowstar does not recommend you handle too many tasks at the same time, but CapsLockX can save your thinking environment, greatly reducing the mental cost you incur during task switching, that is, saving you a lot of time rearranging windows and the resulting loss of attention.
(Note: If you like to handle many tasks at the same time, you might need not only a computer with not a small amount of memory but also a brain of significant capacity :D )
When switching windows with Alt+Tab, if there are too many windows, a two-dimensional window pre-arrangement display will show up. Generally speaking, Alt+Tab and Alt+Shift+Tab are purely left-handed keystrokes. If the user wants to select the window in the next line, they will instinctively press Alt+Tab many times. However, the directional keys used for two-dimensional operations are often ignored because the right hand is usually on the mouse or on the J key.
Also, users will continue to hold down the Alt key after releasing the Tab key to browse the windows and select the target window to switch to. In CLX, Alt+WASD will be used instead of the arrow keys to perform multiline window switching directly with the left hand, so there is no need to press Shift to go back to the left. Moreover, if a user needs to clean up or close multiple windows, they simply press Alt+X to batch clean multiple target windows while remaining within the window browsing interface.
In CLX, these features greatly improve the usability of Alt+Tab.
Click to expand TODO-docs
Each desktop has only one active focus window, and the virtual desktop can achieve automatic switching to the focus window of that virtual desktop when switching to it, achieving multiple task focuses (i.e., active windows).
Default window arrangement limitations in Windows 10:
- Not applicable to multiple desktops.
- Unnecessary window gaps are too large.
TODO: i3 Window Management
Two system-level solutions: Left-right top-bottom split screen, floating windows; Application level: floating components,
TODO Discussion on ThinkPad and Mac arrow keys, inspiration from VIM,
TODO: World perception of exponential growth, focus, auditory, visual, tactile, VS conventional linear operations
TODO: Document: Introduction to mouse simulation function, movement in RPG games
TODO: Application enhancement module introduction
TODO: FN key, arrow keys, editing operations, 61-key layout vs 87-key layout,
TODO Various types of chording TODO Calculation of information quantity increase with chording
If you want to learn how to develop a plugin for CapsLockX, please:
- Open
Modules/@Help.ahk
, where you can learn the basic format of a CapsLockX plugin. - Copy it and name it as your own plugin.
- Change its original functionality to the one you need, and the plugin development is complete!
Applies to | Key | Function |
---|---|---|
Global | CapsLockX + / | Temporarily show hotkey hints |
Global | CapsLockX + Alt + / | 🔗 Open the full documentation page of CapsLockX |
Global | CapsLockX + Shift + / | 🕷 Submit bugs, suggestions, etc. |
Anki Operation Enhancement
- Use WASD or HJKL to quickly and continuously (and reversibly) switch flashcards.
- Create a word list in Excel with 2 columns, select all and copy, then press Alt + i in Anki to quickly import the word list.
- Simplify four options to three arrow keys: left-easy, down-medium, right-hard, up-undo.
- Compatible with a game controller by using XPadder to map the controller joystick to arrow keys. See the effect on bilibili Chuunibyou Xuexing Words - How can a controller not be used for memorizing words!
Mode | Anki Enhanced Module | Description |
---|---|---|
In Anki-Learning Interface | w or k or ↑ |
Press=undo, release to show answer |
In Anki-Learning Interface | a or h or ← |
Press=smooth, release to show answer |
In Anki-Learning Interface | s or j or ↓ |
Press=average, release to show answer |
In Anki-Learning Interface | d or l or → |
Press=familiar, release to show answer |
In Anki-Learning Interface | q |
Return to the previous screen |
In Anki-Learning Interface | c |
Add a new card |
In Anki-Learning Interface | 1 or NumPad1 |
Hard (original key position) |
In Anki-Learning Interface | 2 or NumPad2 |
Unfamiliar (original key position) |
In Anki-Learning Interface | 3 or NumPad3 |
Average (original key position) |
In Anki-Learning Interface | 4 or NumPad4 |
Smooth (original key position) |
In Anki-Learning Interface | 5 or NumPad5 |
Undo |
In Anki-Learning Interface | 6 or NumPad6 |
Suspend card |
In Anki-Learning Interface | Alt + i |
Quickly import clipboard contents (separated by Tab) / can be copied from Excel |
In Anki-Adding Card Interface | Alt + s |
Press Add button |
Elegantly enhance keyboard operations for OneNote 2016 - 2019, conveniently using the keyboard for: pen switching, creating links, organizing pages, adjusting views...
- When making logs, use
Alt + T
on the note page to add a date tag to the note title (for future searches), then globallyWin + Shift + N
to search all notes with today's tag in OneNote, making it easy to retrieve your daily: love diary, training log, daily book list, project daily report... In short, writing a diary in OneNote is convenient, just a press away, no need to search XD. - Select a word and press
Alt + K
, to list all related page links below this word as an index directory, turning your OneNote into a web. - Create a new note, rename it to
My Clipboard
, and when copying text or images, CLX will automatically append them to this note for convenient collection of materials or excerpts. - Alt + 1234567 for hierarchical folding, easily switching thoughts at different levels of abstraction.
Key Description | Function | Note |
---|---|---|
All OneNote Built-in Hotkeys |
Original Function | |
Press Alt, then something else |
Triggers OneNote's original menu function | |
Alt + 1234567 |
Outline folding and expanding to levels 1-7 | |
Alt + qwe asd r |
Tools, pen switch, view | |
Alt + f |
Find tag | |
Alt + -= |
Formula related | |
Alt + m |
Move note, section | |
Alt + hjkl |
Various link functions | |
Alt + zxcv |
Advanced copy-paste | Details developing |
Alt + / |
Hotkey help, tips | In development |
F2 F3 |
Rename, find notes |
Applied To | Formatting Hotkey | Function |
---|---|---|
Global | Win + Alt + N |
Open the first quick note page (compensates for the lack of a homepage concept in OneNote like Notion) |
Global | Win + Shift + N |
Open OneNote and search precisely for today's tag |
OneNote2019 | Alt + 1234567 |
Outline: Fold and expand the outline to that layer (highly recommended, super useful) |
OneNote2019 | F2 |
Organize: Rename note |
OneNote2019 | Shift + F2 |
Organize: Rename section |
OneNote2019 | Alt + m |
Organize: Move note |
OneNote2019 | Alt + Shift + m |
Organize: Move section |
OneNote2019 | Ctrl + n |
Organize: New note |
OneNote2019 | Ctrl + Alt + n |
Organize: Create a new note below the current note |
OneNote2019 | Alt + Delete |
Organize: Quickly delete the current page |
OneNote2019 | Ctrl + s |
Organize: Sync this notebook immediately |
OneNote2019 | Ctrl + w |
Organize: Close window |
OneNote2019 | Shift + Delete |
Edit: Quickly delete the current line |
OneNote2019 | Alt + - |
Edit: Automatically 2D the formula |
OneNote2019 | Alt + k |
Edit: ⭐🔗 Expand related page links for the current keyword (quick keyword one-to-many link) |
OneNote2019 | Alt + n |
Style: Change page to colorless background |
OneNote2019 | Alt + v |
Style: Change text background color |
OneNote2019 | Alt + q |
Tool: Drag |
OneNote2019 | Alt + w |
Tool: Lasso |
OneNote2019 | Alt + e |
Tool: Eraser |
OneNote2019 | Alt + s |
Tool: Input |
OneNote2019 | Alt + a |
Tool: Switch to the 2nd pen |
OneNote2019 | Alt + d |
Tool: Open pen switch menu (then use arrow keys to select a pen (currently not working in full screen) |
OneNote2019 | Alt + d -> 1234567 |
Tool: Open pen switch menu (then select the 1st row, xth pen) (currently not working in full screen) |
OneNote2019 | Alt + d -> Shift + 1234567 |
Tool: Open pen switch menu (then select the 2nd row, xth pen) (currently not working in full screen) |
OneNote2019 | Alt + r |
View: Zoom to original size |
OneNote2019 | Alt + y |
View: Zoom to page width |
OneNote2019 | ^!+- or ^!+= |
View: Zoom out or zoom in page |
OneNote2019 | Alt + f |
View: Search marks |
OneNote2019 | Alt + t |
Edit: Add a date tag to the note, e.g., (20220717) |
OneNote2019 | Ctrl + Shift + c |
Edit: Copy (plain text) |
OneNote2019 | Ctrl + Shift + v |
Edit: Paste (plain text) |
OneNote2019 Create Link Window | Alt + s |
Edit: Copy links to all currently searched result pages |
OneNote2019 Create Link Window | Alt + Shift + s |
Edit: Copy links to all currently searched result pages and paste |
OneNote2019 Clipboard Note | Ctrl + C |
Edit: ⭐ Add copied content to the note whose name contains "Clipboard" or "剪贴板" |
Applies to | Key Combination | Function Description |
---|---|---|
Global | Win + Alt + H | Start/Switch iFlyTek Voice Input |
- If iFlyTek Voice is not installed, it will automatically prompt to guide the download and installation.
Any time, any input box, press CLX+b
to start using AI-assisted input.
Key Description | Function | Note |
---|---|---|
CLX + b | Automatically copy current selection, input command, let AI assist you with input | |
CLX + Alt + b | Configure activation code (currently only a free plan, potential enhancements in the future) | |
CLX + Shift + b | View usage quota |
- In any input box, use Win+H to bring up voice input, then say what you want in text, don't worry about the accuracy of voice input, just say the general idea,
- Then select all, press
CLX+b
, inputlist key points and to-do items
, and you'll see AI automatically summarize the key points and to-do items for you.
- In any input box, select the text you want to translate
- Then select all, press
CLX+b
,to chinese:
and AI will automatically help you input it in Chinese.
Is there anything better in this world than moving the cursor with Vim mode's HJKL? There must be! That's the smooth editing experience with accelerated HJKL! Do you want to try a high-end operation of having your cursor take a high-speed turn around a bend? Install it!
Scope | Edit Module | Description |
---|---|---|
Global(Basic) | CapsLockX + h j k l |
Up, Down, Left, Right Arrow keys |
Global(Basic) | CapsLockX + y o |
Home End |
Global(Basic) | CapsLockX + u i |
PageUp PageDown |
Global(Basic) | CapsLockX + [ ] |
Shift+Tab and Tab |
Global(Basic) | CapsLockX + g |
Enter |
Global(Advanced) | CapsLockX + t |
Delete |
Global(Advanced) | CapsLockX + hl |
Press together to select current word |
Global(Advanced) | CapsLockX + kj |
Press together to select current line |
Global(Advanced) | CapsLockX + h + t |
Shift delete: can replace backspace in most cases |
Specially designed for various broken notebook keyboards
- No right Ctrl key? Merge the Menu and right Ctrl keys. You can use Menu as Ctrl or Ctrl as Menu.
- No Pause key? Win + Alt + P can also open the System Properties.
- More to be added
Mode | Key | Function |
---|---|---|
Global | Win + Alt + P | Equivalent to Win + Pause, tailored for notebooks |
Global | Press right Ctrl once | Will bring up the menu like pressing Menu |
Global | Hold down the right Menu | Will hold Ctrl, allowing combination with other keys |
When Win key simulation is enabled | Hold ] while pressing [ | Equivalent to pressing the Win key |
When Win key simulation is enabled | RAlt+| Equivalent to Alt+Tab but on the right hand |
Applied to | Media Key Module | Description |
---|---|---|
Global | CapsLockX + F1 |
Open: My Computer |
Global | CapsLockX + F2 |
Open: Calculator |
Global | CapsLockX + F3 |
Open: Browser Homepage |
Global | CapsLockX + F4 |
Open: Media Library (default is Windows Media Player) |
Global | CapsLockX + F5 |
Play: Pause/Play |
Global | CapsLockX + F6 |
Play: Previous Track |
Global | CapsLockX + F7 |
Play: Next Track |
Global | CapsLockX + F8 |
Play: Stop |
Global | CapsLockX + F9 |
Volume Up |
Global | CapsLockX + F10 |
Volume Down |
Global | CapsLockX + F11 |
Mute |
Simulated Mouse Plugin (WASD QERF)
All along, I've always considered myself a keyboard aficionado, probably since I became a heavy keyboard user due to injuring my finger joints while modeling. I use various keyboard acceleration tools, actively memorize various shortcuts, and strive to minimize mouse usage, even learning vim and emacs. However, the mouse is irreplaceable, especially when graphical interfaces dominate.
-
The above is a remark from the author of SimClick Simulated Click, a work that simulates the mouse in a grid subdivision manner and can complement this project.
-
Recommended by Qin Jinwei
Features:
- This module uses key areas: CapsLockX + QWER ASDF.
- Very comfortably uses WASD QE RF to simulate complete mouse functionality. Trust me, once you try this tactile sensation, you'll love it.
- The pointer automatically sticks to various buttons and hyperlinks when moving. The exponential growth acceleration scrolling mechanism of the wheel ensures that you'll no longer fear excessively long articles and web pages.
- Effects as shown in the image:
Usage details as follows:
Applies To | Key | Description |
---|---|---|
Global | CapsLockX + w a s d |
Mouse movement (up, down, left, right) |
Global | CapsLockX + a d |
Switch HJKL keys to wheel mode (scroll) |
Global | CapsLockX + r f |
Vertical wheel (up, down) |
Global | CapsLockX + Shift + r f |
Horizontal wheel (left, right) |
Global | CapsLockX + Ctrl + Alt + r f |
Automatic vertical scrolling (up, down) |
Global | CapsLockX + Ctrl + Alt + Shift+ r f |
Automatic horizontal scrolling (left, right) |
Global | CapsLockX + rf |
Pressing rf simultaneously equals the middle mouse button |
Global | CapsLockX + e |
Left mouse button |
Global | CapsLockX + q |
Right mouse button |
Operation Details
Fast consecutive presses of AD for stepping
Applied to | Key | Effect |
---|---|---|
Global | CapsLockX + - |
Evaluate and replace the selected JavaScript expression |
Global | CapsLockX + = |
Evaluate and replace the selected JavaScript expression |
Make the best use of Win 10's built-in 10 virtual desktops with luxurious configuration, multi-monitor auto window arrangement, semi-transparent always-on-top, (Note: Taskbar and AltTab related features are not compatible with Win11, window arrangement features are normal.)
- Window Switch:
CapsLockX + [Shift] + Z
- Close Window:
CapsLockX + [Shift] + X
- Arrange Windows:
CapsLockX + [Shift] + C
- Always-On-Top Window:
CapsLockX + [Shift] + V
- Left-Hand Window Management: In the
Alt + Tab
interface, useWASD
to switch windows,X
to close the window. - Efficient Use of Virtual Desktops:
CapsLockX + 0123456789
to switch, add or remove virtual desktops, add aShift
key to move the current window - Quickly Disconnect Virtual Machine and Remote Desktop: Double-click the left
Shift + Ctrl + Alt
.
- Alt + Tab Enhanced Window Management
- CapsLockX + C One-Key Window Arrangement (This GIF was recorded with an older version that looks laggy, the new version has an optimized API, so it's not laggy anymore)
Scope | Window Enhancement Module | Description |
---|---|---|
Alt+Tab UI | Q E |
Switch between desktops left and right |
Alt+Tab UI | W A S D |
Switch window selection up, down, left, right |
Alt+Tab UI | X C |
Close the selected window (currently no difference between X and C) |
Win+Tab View | Alt + W A S D |
Switch window selection |
Global | Win + [Shift] + B |
Locate to tray task (Windows system built-in hotkey) |
Global | Win + [Shift] + T |
Locate to taskbar task (Windows system built-in hotkey) |
Global | Win + Shift + hjkl |
Switch focus between windows by direction |
Taskbar | Ctrl + W or Delete |
Select exit button in tray icon or taskbar task |
Global | CapsLockX + 1 2 ... 9 0 |
Switch to the 1st ... 12th desktop |
Global | CapsLockX + Shift + 1 2 ... 9 0 - = |
Move current window to the nth desktop (if available) |
Global | CapsLockX + Alt + Backspace |
Delete the current desktop (move all windows to the previous desktop) |
Global | CapsLockX + C |
Quickly arrange windows on the current desktop |
Global | CapsLockX + Ctrl + C |
Quickly arrange windows on the current desktop (including minimized windows) |
Global | CapsLockX + Shift + C |
Quickly stack windows on the current desktop |
Global | CapsLockX + Shift + Ctrl + C |
Quickly stack windows on the current desktop (including minimized windows) |
Global | CapsLockX + Z |
Cycle to recently used windows |
Global | CapsLockX + Shift + Z |
Cycle to least recently used windows |
Global | CapsLockX + X |
Close current tab Ctrl+W |
Global | CapsLockX + Shift + X |
Close current window Alt+F4 |
Global | CapsLockX + V |
Make the window transparent |
Global | CapsLockX + Shift + V |
Keep the window transparent (and always on top) |
Any Window | Double-click left Shift+Ctrl+Alt |
Send the current window to the back * see note below |
* Note: Double-click the left Shift+Ctrl+Alt is designed for remote desktop and virtual machines, so that they can be displayed simultaneously with the local desktop windows. For example, mstsc.exe, TeamViewer, VirtualBox, HyperV, VMWare, etc., remote desktop or virtual machine programs, combined with the CapsLockX + Shift + V transparent always-on-top feature, allows you to simultaneously use Linux or MacOS interface on Windows interface without issue.
Borrowed from @yangbin9317's comment:
Using CapsLock as a leverage, connecting the underlying logic, aligning Windows and Linux WM, solves the pain point of Windows usability.
(20220313) For situations where both ends are Windows, you can also consider using RemoteApp Tool - Kim Knight instead of remote desktop.
Mode | Quick Input | Description |
---|---|---|
Global | #D# |
Date input: (20220217) |
Global | #T# |
Time input: (20220217.220717) |
Global | #DT# |
Date and time input: 2022-02-17 22:07:33 |
Global | #NPW# |
Random numerical password input, e.g., 7500331260229289 |
Global | #PW# |
Random alphanumeric password input, e.g., yyCTCNYodECTLr2h |
Global | #WPW# |
Random alphanumeric password input, e.g., FtD5BB1m5H98eY7Y |
Global | #SPW# |
Random alphanumeric symbol password input, e.g., /})y+xK]z~>XKQ+p |
25-minute fixed cycle break reminder.
Use CapsLockX + ,
to open the configuration, then modify EnableScheduleTasks=1 to enable this plugin.
-
Use tomato time notification (work bell rings at 00 and 30 minutes, rest bell rings at 25 and 55 minutes of each hour) (requires enabling scheduled tasks first)
UseTomatoLife=1
-
Automatically switch desktops when using tomato time notification (rest desktop is 1, work desktop is 2)
UseTomatoLifeSwitchVirtualDesktop=1
Note: If you only need sound and do not need to automatically switch desktops, you can also try this Chrome extension Tomato Life - Chrome Web Store
Note: This plugin has been separated into an independent project. If you like the Pomodoro Technique, you can check out Snomiao's tomato-life project: snomiao/tomato-life
Press Win + L to lock the screen and immediately turn off the display, useful for turning off the computer screen automatically when you're ready to sleep, so it doesn't glare while you're sleeping... Press Win + Alt + L to immediately turn off the display, useful for turning off the computer screen when you're ready to sleep, so it doesn't glare while you're sleeping...
I often write code… At first, I was used to using the mouse with my right hand... later I found it a bit far to put the mouse on the right... so I switched to using the mouse with my left hand. After switching to the left hand, I realized I still had to take it off the keyboard... so I made a script that simulates the mouse with the WASD keys. (Then I could keep playing with the computer with my right hand under my chin) Later I wrote more and more scripts and put some of the common ones together to load...
The core philosophy of CapsLockX is to simplify system operation logic, improve operation efficiency, and not conflict with existing habitual key positions.
- Press CapsLockX + - key to display corresponding help (the current display style is quite rough)
- i18n (eh this really should exist)
- Auto-update (although git pull is also fine)
- Tutorial for first-time users (this is a bit simple now...)
- Plugin manager (although the file system could handle it too)
- Auto-sync of configuration (though throwing it in OneDrive is usually enough)
- A user-friendly options configuration UI (though changing ini isn't that hard)
- Execute external code (Python, Nodejs, external AHK, Bash, …) (although running a script isn't much trouble)
- Can be install with "irm https://get.capslockx.com | iex" If you have any ideas or suggestions, please propose them here: Issues · snomiao/CapslockX
Win + series are generally used for operating system functions, desktop window application process management, input method, output device (display, multiple screens) management.
Alt + series typically denote invocation of application internal functions, their meanings should be equivalent to pressing the same function button, or jumping to a specific function interface.
Ctrl + series as above, but used more frequently and it's very likely that there is no button with the same function.
Ctrl + Alt + same as above, but generally for global hotkeys.
The Shift key is used to slightly change the meaning of the above functions (such as reverse operations like Shift+Alt+Tab, or extended function range like Shift+Arrow keys to adjust the selection, etc.)
Updated (20200627) The information may become outdated over time
Feature\Project | CapsLockX | Vonng/CapsLock | coralsw/CapsEz | CapsLock+ |
---|---|---|---|---|
Mouse Simulation | ✅ Smooth and complete | ✅ No scroll wheel | 🈚 None | 🈚 None |
Expression Calculation | ✅ Nodejs or JScript | 🈚 None | 🈚 None | ✅ TabScript (Snippet + Javascript) |
Window Management | ✅ Strong | ✅ Available | ✅ Available | ✅ Strong |
Virtual Desktop Management | ✅ Available | 🈚 None | 🈚 None | 🈚 None |
Editing Enhancement | ✅ Available (parabolic model) | ✅ Available | ✅ Available | ✅ Very comprehensive |
Portable (No Install) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Enhanced Media Keys | Not all | ✅ All | 🈚 None | 🈚 None |
Enhanced Clipboard | Weak | 🈚 None | 🈚 None | ✅ Available |
Quick Application Launch | ✅ Plugins | ✅ Available | ✅ Available | ✅ Available |
Application Feature Enhancement | ✅ Rich | 🈚 None | ✅ Available | 🈚 None |
Bash Control | 🈚 None | ✅ Available | 🈚 None | 🈚 None |
Quick Start Voice Input | ✅ iFLYTEK | 🈚 None | 🈚 None | 🈚 None |
Quick Input of Time and Date | ✅ Available | ✅ Available | ||
Bind Window to Hotkey | 🈚 None | 🈚 None | 🈚 None | ✅ Available |
Quick Screen Rotation | ✅ Available | 🈚 None | 🈚 None | 🈚 None |
Secondary Development | ✅ Documentation friendly | ✅ Possible | ✅ Possible | ✅ Possible |
Memory Usage | ✅ About 2~3M | |||
Modularization | ✅ | 🈚 None | 🈚 None | 🈚 None |
System | Win | Mac (main), Win (secondary) | Win | Win, Mac |
Supported Languages | English / Chinese / Any Language (by ChatGPT) | Chinese / English | Chinese | Chinese / English |
The following repositories are updated synchronously:
- GitHub: https://github.com/snolab/CapsLockX
- Gitee: https://gitee.com/snomiao/CapslockX
- Bitbucket: https://bitbucket.org/snomiao/capslockx
- Gitlab: https://gitlab.com/snomiao/CapsLockX/
Document Address 📄
- Automatic Translation Document Netlify CDN: https://capslockx.netlify.com
- Automatic Translation Document CloudFlare CDN: https://capslockx.snomiao.com
Star Chart ⭐️
- Star Historys
- Source: Vonng/CapsLock: Make CapsLock Great Again! Design: Capslock/design.md at master · Vonng/Capslock
- coralsw/CapsEz: KeyMouse Tools
- CapsLock+
- Capslox
- CapsLock++ matrix1001/CapsLock-plus-plus: ⌨Amazing, extendable, readable autohotkey scripts framework utilized by CapsLock.
- Power Keys | Liberate Computer Usage Efficiency
Related Communities:
- CapsLockX's issues (can be used as a forum) ✉️
- CapsLockX User Telegram Group: t.me/CLX_users📱
- CapsLockX User QQ Group 🐧: 100949388
- QZ/VimD/TC/AHK QQ Group 🐧: 271105729
- AHK Advanced QQ Group 🐧: 717947647
- The Little Red Dot mechanical keyboard group 🐧: 199606725
For questions related to CapsLockX, you can directly join the group @雪星 or ask privately.
Considering that any software that can obtain administrative rights is quite dangerous to a user's operating system, CapsLockX must and is currently adopting an open-source approach. This allows the community to freely and arbitrarily inspect any part of the CapsLockX code that may be involved, to ensure that the security of all users' operating systems is not compromised by this software.
How to help CapsLockX survive? If CapsLockX has been helpful to you:
- ⭐️ Please star CapsLockX on Github Star
- 🔗 Please share it with your friends.
- 🌐 Welcome to help translate this documentation into different languages.
- 🐞 Welcome to submit bugs and suggestions for improvement issues
- Code PR submissions are welcome, even just to correct a typo ~
- Welcome to create works about this software, such as recording tutorial videos to post on Youtube or Bilibili, Xue Xing will like your video.
- 💰 Welcome to donate to the development of CapsLockX, each donation will be recorded in the list below:
- Aifadian ⚡️:https://afdian.net/@snomiao
- PAYPAL: https://paypal.me/snomiao
- Alipay donation snomiao@gmail.com (click to view QR code)
- Wise donation snomiao@gmail.com
- CapsLockX - Open Collective
- ETH: 0xdc2eece11a9e09c8db921989e54b30375446e49e
Donation Date | Name | Channel | Amount | Comment |
---|---|---|---|---|
2021-06-19 | **Yu | Alipay QR | +50.00 CNY | A little support, in favor of independent developers |
2023-05-12 | Karawen | WeChat Transfer | +200.00 CNY | 🫡 (Salute) |
2023-06-09 | @andriasw | Alipay Transfer | +66.66 CNY | for CapsLockX-mac, 66.66 is good (https://github.com/andriasw) |
2023-12-19 | Huidan | QQ Red Packet | +45.00 CNY | Buy the developer a coffee |
- Thank you for the financial support from the above donors.
- Thanks to Qin Jinwei for the citation recommendation article and development suggestions: 2020-02-23 When Keyboard Simulates Mouse - Jianshu
- Thanks to @He Xuren for helping with the dissemination: CapsLockX – Operate the computer like a hacker! 【Xue Xing】 – AutoAHK
- Thank you to those who asked questions in the issues and in the group and helped to improve CapsLockX.
- 秦金伟
- V2EX:
- Zhihu:
- AutoAHK:
- (10) What are some good career alternatives for a computer programmer with RSI? - Quora
- simple internationalization function - Scripts and Functions - AutoHotkey Community
- CapsLockX - 💻 Get Hacker's Keyboard. Operate your computer like a hacker
- Version Wall - Badge Wall 📛 Badges
- Beginner's Quick Start Tutorial 📖 Tutorial
- Advanced Reference Manual 🦽 Manual
- Usage Manual 📖 - Usage Manual
- Basic Operations
- Module Descriptions
- Nightmares of Multitasking
- Virtual Desktop Overview: Scenarios Mode, Work Desktop, Entertainment Desktop, Project Categorization...
- Improvement of User Experience in Windows Window Switching - Win+tab
- TODO-Docs
- Focus Amount: Active Window, Default Active Window,...
- Utilization of Multiple Screens - Multi-screening
- Window Arrangement in the 4K Era - Window arrange with 4k screen
- Troubles with Edit Operations
- Troubles with Graphic User Interface
- Human Perception of Speed
- Hotkey Flaws of Software
- Usability of Portable Keyboards
- Help Module
- Functions of this module as follows
- Common Features/Characteristics
- Explanations
- Common Features/Characteristics
- Explanations
- Common Features Used by XuexingMiao
- Key Distribution Design (Under Development)
- Detailed Key Table / CheatSheet
- Features
- How to Use as follows
- Operational Details
- Brief Description of the Features
- Effect Pictures
- How to Use as follows (Alt+Tab and CapsLockX)
- Past and Future 🛰
- FAQs Related ❓ Questions
- Support ⭐️ Supports
- Footer Catalog - Table of Contents
<script async defer src="https://buttons.github.io/buttons.js"></script>