Hey there!
Is there a way to detect movement only for 1 specific window?
HWnd is not really working, it still detects movement in all the windows within the region
This is my script:
;Checksum actual
HotKeySet("{f2}", 'exit_')
MsgBox(0, '', '0')
Beep(500, 2000)
$Hwnd = WinActive('')
while 1
$Checksum = PixelChecksum(211, 650, 1094, 914, 1, $Hwnd)
If PixelChecksum(211, 650, 1094, 914, 1, $Hwnd) <> $Checksum Then
For $i = 1 To 100
Beep(1000, 50)
Next
MsgBox(0, '', 'New message!', 1)
EndIf
WEnd
Func exit_()
Beep(500, 1000)
Exit 0
EndFunc
I just want to check whenever a message comes because the app i use doesn't give notifications properly.
Any help is really appreciated!