SuperCapsAHK is a collection of AutoHotkey scripts that enhance the functionality of the CapsLock key. It allows you to use CapsLock as a modifier key to perform various actions, such as launching applications, editing text, searching the web, and more.
- Download and install AutoHotkey.
- Download or clone this repo to your local machine.
- Run the
_SuperCaps.ahk
script to load all the other scripts. - Press
CapsLock
+ any of the following keys to activate the corresponding script:
- CapsLock + R: Reloads the script.
- Shift + CapsLock: Checks the state of the
CapsLock
key and toggles it. - CapsLock: If
CapsLock
is off, it keeps it off.
- CapsLock + E: Opens the current script directory. If the script is compiled, it opens the directory in the default file explorer. Otherwise, it opens the directory in Visual Studio Code.
- CapsLock + V: This shortcut can be used for two purposes. If you press and hold
V
while holdingCapsLock
, it will launch the Alarms & Clock app, where you can set a timer. If you releaseV
quickly, it will send the shortcutShift + Window + V
, which will stop the alarm sound and dismiss any notifications on your screen.
- Left Mouse Click: Triggers a system-wide event. When the desktop is clicked, it toggles the visibility of the desktop icons. If the desktop remains inactive for 30 seconds, the icons are automatically hidden.
- Ctrl + Space: Toggles the current window’s “always on top” state.
- CapsLock + Space: Moves the current window to the next display.
- CapsLock + S: Maximizes the current window.
- CapsLock + A: Minimizes the current window.
- CapsLock + Q: Closes the current window.
- Left Alt + Left Mouse Button: This feature initiates a window movement operation, allowing you to reposition the window by clicking anywhere within its boundaries. This is particularly useful for smaller screens or for moving windows that typically limit movement. It's a handy tool for managing your workspace more efficiently. However, please note that this feature does not work if the window is maximized. You'll need to restore the window to its original size before you can use this feature to move it.
- Ctrl + Shift + C: Copies the selected text and performs a DuckDuckGo search using the copied text.