Standalone Windows automation scripts built with AutoHotkey v2.
- Install AutoHotkey v2.0.
- Clone this repository:
git clone https://github.com/matejkadlec/ahk-scripts.git
- Run the script you want directly.
There is no script manager and no shared AutoHotkey utility layer. Each .ahk
file owns its own configuration, hotkeys, timers, and logging.
Spams left-click attacks while enabled.
Rtoggles auto-attack mode.- Hold left mouse button while enabled to click repeatedly.
F3pauses or resumes theRtoggle while typing.- Configure
spamIntervalMsnear the top of the file.
Automates League of Legends match acceptance.
- Watches for the League client window:
ahk_class RCLIENT ahk_exe LeagueClientUx.exe - Searches for
img/AcceptButton.pngevery 500 ms. - Clicks the detected accept button.
- Edit constants at the top of
scripts/MatchAcceptor.ahkto adjust image path, client size, search interval, and click delay.
The League client must be visible on screen for image detection to work.
Measures League of Legends loading screen duration.
- Starts timing when the script is launched.
Alt + F1stops the timer.- Auto-stops after 10 minutes if not stopped manually.
- Saves measurements to
data/measurements.csv. - Edit constants at the top of
scripts/LoadingScreenTimer.ahkto change paths and timeout behavior.
Provides a quick exit action for a Virtual Desktop Environment window.
F1opens the VDE menu and clicks the configured exit button while the VDE window is active.- If the VDE window is not active,
F1is passed through normally. - Edit constants at the top of
scripts/VDEExiter.ahkto configure the target window title, monitor offset, click coordinates, and click delay.
Scripts that log write to logs/dd-mm-yyyy.log. Generated logs and timer data
are ignored by Git.
- Use AutoHotkey Window Spy to confirm
ahk_classandahk_exevalues. - Prefer
ahk_classorahk_exeidentifiers over full window titles. - Avoid
ahk_pidandahk_idin saved configuration because those values change every session. - If image recognition fails, update
img/AcceptButton.pngif Riot changes the button appearance. - If clicks land on the wrong monitor, adjust coordinate and monitor-offset constants at the top of the affected script.
- Keep scripts standalone: do not add shared AutoHotkey includes or a central launcher.
- Put editable constants near the top of each script.
- Use AutoHotkey v2 syntax.
- Document new scripts in this README.
- Visual Studio Code with the AHK++ extension is recommended for editing.