Last active
December 25, 2019 16:56
-
-
Save ArtemGr/e99d3da9cc69e0cc53fb351e7ecb5b91 to your computer and use it in GitHub Desktop.
Example automating the Cheat Happens editor with AutoHotkey
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#If WinActive("Druidstone") | |
q:: | |
MouseGetPos, mouseStartX, mouseStartY | |
if WinExist("Cheat Happens Trainer") { | |
WinActivate | |
WinMove, 600, 111 | |
MouseMove, 210, 180, 5 | |
MouseClick, Left | |
MouseMove, 900, 320, 5 | |
MouseClick, Left | |
Sleep 99 | |
Send ^a | |
Sleep 99 | |
Send 9 | |
Sleep 99 | |
Send {Tab} | |
WinActivate, Druidstone | |
} | |
MouseMove, mouseStartX, mouseStartY, 2 | |
Return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment