HotKeySet("{ESC}", "Terminate")
Func Terminate()
Exit 0
EndFunc
Local $iCheckSum = PixelChecksum(1057, 841, 1292, 848)
While $iCheckSum = PixelChecksum(1057, 841, 1292, 848)
Sleep(100)
Send("{ESC 1}")
WEnd
it seems to end instantly regardless of any changes on the screen. any ideas?