Skip to content

Instantly share code, notes, and snippets.

@AfterLemon
Forked from anonymous/gist:5902894
Last active December 19, 2015 05:18
Show Gist options
  • Save AfterLemon/5902906 to your computer and use it in GitHub Desktop.
Save AfterLemon/5902906 to your computer and use it in GitHub Desktop.
CoordMode, Pixel, Relative
WinActivate, ahk_class Direct3DWindowClass
Loop
{
ImageSearch, FoundX, FoundY, 0,0, 60, 60, vitality.jpg
If (ErrorLevel = 1)
ehit := ""
else
{
If (ehit = "")
{
Send e ; //
ehit := 1
}
}
Sleep = 1000
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment