AHK QuickCommand is a plug-and-play AutoHotkey snippet that enables you to instantly search and execute already-existing functions or commands in your scripts with minimal setup.
- Minimal setup: Just include AHK QuickCommand.ahk to use it. Automatically retrieves and displays available functions from your AHK script in a GUI.
- Quick search: Type to filter commands. Trigger by double-click or pressing Enter.
- Edit your existing AHK script and include
AHK QuickCommand.ahk
at the top of your main script like this:#Include, C:\Desktop\AHK QuickCommand.ahk
- Save and run the script. Press
Capslock + C
to open the GUI. - Type to filter commands. Use arrow keys to navigate, and press
Enter
or double-click to execute the selected function.
- Requires: AutoHotkey v1.1+
- Commands should be defined in the following format:
; Example Commands
; To Exclude: change "func(){" to "func( ){"
ActionExample(){
MsgBox, You selected Example!
; Replace with your custom function
}
- The
#Include, C:\Desktop\AHK QuickCommand.ahk
should be placed right after your startup scripts which automatically run after initializing.
- Use
CapsLock+W/S/Space
asUp/Down/Enter
; - Use
CapsLock+C+C
to trigger last excuted command; - Trigger immediately when matched command is unique (Off by default);
- Specific features can be fine-tuned by modifying the code.