- Install AutoHotKey (v2 Dual-Runtime Recommended):
- Install AutoHotkey v2 via Official Installer or PowerShell:
winget install AutoHotkey.AutoHotkey
- The AHK v2 installer automatically sets up the AutoHotkey Launcher, which seamlessly runs both v1 and v2 scripts side-by-side based on the
#Requiresdirective at the top of each script.
- Install AutoHotkey v2 via Official Installer or PowerShell:
- Version Directives (
#Requires):- Legacy scripts in
AllScripts/use#Requires AutoHotkey v1.1to ensure the launcher uses the v1 interpreter without breaking functionality. - Any new scripts can use
#Requires AutoHotkey v2.0to take advantage of modern v2 features.
- Legacy scripts in
- Add the scripts directory to
Startup_Script.ahkto run all scripts at once. - Local Custom Paths: Copy
local_paths.ahk.exampletolocal_paths.ahkin the root directory to define your machine-specific paths (e.g. custom courses or scripts).local_paths.ahkis automatically ignored by Git to keep your folder structure private. - Personal Keywords & Privacy: Copy
AllScripts/Personal Keywords.ahk.exampletoAllScripts/Personal Keywords.ahkto define your private hotstrings, passwords, and shortcuts.Personal Keywords.ahkis automatically ignored by Git to prevent accidental data leaks.
- Right-click any
.ahkscript (e.g.Startup_Script.ahk) in File Explorer and select Compile Script (GUI) (or launchC:\Program Files\AutoHotkey\Compiler\Ahk2Exe.exe). - Source: Select your
.ahkscript file. - Destination: Select the output
.exefilename (e.g.Startup_Script.exe). - Custom Icon (.ico): Click Browse and select your
.icofile. - Base Bin: Select
Unicode 64-bit.bin(for v1) or v2 binary base. - Compression (Optional): Set the UPX path to
upx-3.95-win64\upx.exefor executable compression. - Click Convert.
Run the following command in PowerShell / CMD to compile with a custom icon:
& "C:\Program Files\AutoHotkey\Compiler\Ahk2Exe.exe" /in "AllScripts\Startup_Script.ahk" /out "AllScripts\Startup_Script.exe" /icon "path\to\custom_icon.ico"-
Key Usage F1 Set Current +5 Brightness Shift+F1 Set Current -5 Brightness Ctrl+PgDn Push Brightness Extremes Down -10 Ctrl+PgUp Push Brightness Extremes Up +10 -
Key Usage Win+Del Empty Recycle Bin Win+C Run Calculator Win+M Minimize Active Window Win+F Open FireFox Win+F8 Bluetooth On/Off Win+Shift+A Open Notification Center Win+Shift+E (Folder) Open Downloads (Screenshots) Folder Win+Shift+J (Folder) Open Java Course Win+Alt+C Run Alarm Clock Win+Alt+N Clear Notification Center Win+Alt+X (Script) Reconnect Cloudflare Network Alt+X Open Today Calendar in Checker Plus Extension Alt+D Open ChatGPT Alt+G Monica AI Grammar Correction Alt+Shift+S Monica AI Content Summary Alt+Shift+T This Window Always on Top Alt+Ctrl+D Sort Folder Content by Date Alt+Ctrl+E Enable/Disable File Extension Alt+Ctrl+H Enable/Disable Hidden Files Alt+Ctrl+MouseLButton Move Background Apps Ctrl+G Search the Selected/Clipboard Text Ctrl+T+T Open New Tab (In Browser) Ctrl+J+J Close Downloads Bar (In Browser) Ctrl+Y+T Open YouTube (In Browser) Ctrl+Shift+V Browser to Go to Previous Tab When Taking a Screenshot in Awesome Screen Recorder Capslock+Capslock Double Tap to Activate/Deactivate MouseLButton Double Click Functions (Taskbar Show/Hide) -
Key Usage Win+F1 Display Help Ctrl+F Find in Hotkey Help Win+Ctrl+F1 Excluded Files, Hotkeys, and Hotstrings Win+Alt+Ctrl+F1 Raw Hotkey List Win+Alt+F1 Settings -
Key Usage Win+ScrollLock Suspend All Scripts Win+Ctrl+Alt+ScrollLock Terminate All Scripts Win+Ctrl+Alt+R Reload All Scripts Win+Ctrl+Alt+W Run Window Spy Script -
-
It's a key-value pair. Type the key in the text field to get its corresponding value.
Key Usage ValueOfPie 3.141592653589793238
-
-
-
For programs that go to the system tray when closed by pressing the close button
Key Usage Alt+Ctrl+F4 Close All Programs Alt+F4 Close Currently Active Screen
-
- Get Installed Apps names (Powershell):
Get-StartApps | Sort-Object Name | Format-Table -Property Name, AppID
- Open the app in AHK:
Run, shell:AppsFolder\SamsungNotes_8wekyb3d8bbwe!App