Code: Select all
CoordMode, Pixel, Relative
Loop
{
PixelSearch, x, y, 1826, 822, 1834, 827, 0xE5464F
if x, y, "changes earlier than" 1000,
{
DetectHiddenWindows, On
WinClose, %fullScriptPath% ahk_class AutoHotkey
}
}
Code: Select all
CoordMode, Pixel, Relative
Loop
{
PixelSearch, x, y, 1826, 822, 1834, 827, 0xE5464F
if x, y, "changes earlier than" 1000,
{
DetectHiddenWindows, On
WinClose, %fullScriptPath% ahk_class AutoHotkey
}
}
Users browsing this forum: JKJadan and 251 guests