Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
- ; #Warn ; Enable warnings to assist with detecting common errors.
- SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
- SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
- #SingleInstance Force
- ; Exe file here: https://mega.nz/file/fExgUaRY#0wfxlVdBLDYUMfrH-qfI_0CSWnUShbeNKxPQS7FPRMY
- MsgBox, 0x30, Terraria autoclicker warning, This program will only work if the Terraria executable is called "Terraria.exe", without the quotes. It will also only work when the Terraria window is active.`nTry running this as administrator if it doesn't work at first.`n`nPress the scroll wheel to autoclick.`n`nSource code: https://pastebin.com/mPDZRst1
- #IfWinActive ahk_exe Terraria.exe
- $MButton::
- While, GetKeyState("MButton", "P"){
- SendEvent, {Click}
- }
- Return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement