Code: Select all
CheckForImage() {
if (ImageSearch(&FoundX, &FoundY, 0, 0, A_ScreenWidth, A_ScreenHeight, "*50 G:\Test\finish.png"))
{
SoundPlay "G:\Test\FinishHim.mp3"
}
}
"C:\Program Files\AutoHotkey\v2\AutoHotkey64.exe" /ErrorStdOut "G:\Test\lowlife.ahk"
sorry its not an error, but i cant execute that.