Skip to content

Latest commit

 

History

History
71 lines (47 loc) · 2.11 KB

File metadata and controls

71 lines (47 loc) · 2.11 KB

ahk - AutoHotkey v2 Scripts

AutoHotkey v2.0 scripts for gaming automation, window management, and system utilities.

Directory Structure

ahk/
├── Black_ops_6/         # Call of Duty Black Ops 6 AFK macros
├── Minecraft/           # Minecraft AFK/automation scripts
├── Robocopy/            # Robocopy wrapper for image backups
├── ControllerQuit.ahk   # Close active window with a controller button combo
├── Fullscreen.ahk       # Borderless fullscreen toggle
├── Keys.ahk             # General hotkey suite
└── test_Keys.ahk        # Unit test for Keys.ahk window functions

Scripts

Fullscreen.ahk

Borderless fullscreen toggle with multi-monitor support.

  • End - Toggle borderless fullscreen
  • Ctrl+Alt+K - Enter borderless fullscreen (always on top)
  • Ctrl+Alt+L - Exit and restore window
  • Ctrl+Alt+End - Toggle with always-on-top

Requires admin (via InitScript).

ControllerQuit.ahk

Hold Joy9 (Select) + Joy10 (Start) on any detected controller to close the active window.

Keys.ahk

General-purpose hotkey suite: window snapping, media keys, always-on-top toggle, recycle bin/clipboard clear, file date-stamping, and a documentation GUI. See the script for the full hotkey list.

Black_ops_6/

AFK macros for Black Ops 6. See Black_ops_6/README.md.

Minecraft/

AFK farming and auto-sprint automation. See Minecraft/README.md.

Robocopy/

Robocopy-based image backup wrapper (PowerShell + cmd, not AHK). See Robocopy/README.md.

Running Scripts

# Double-click, or from the command line:
"C:\Program Files\AutoHotkey\v2\AutoHotkey64.exe" Fullscreen.ahk

Development

All scripts require #Requires AutoHotkey v2.0, #SingleInstance Force, and reuse Lib/AHK_Common.ahk / Lib/WindowManager.ahk where applicable — see AGENTS.md and .claude/rules/autohotkey.md for conventions and CI requirements.