04-02-2016, 07:17 PM
Tested with Notepad.
Macro Macro2727
Says "found" when there is no text. Says "not found" when there is a 1 character. The image is a 50x50 pixel white rectangle.
Macro Macro2727
RECT r
SetRect &r 8 8 60 60
int w=win("Untitled - Notepad" "Notepad")
act w
if(scan("image:h5EDAC0B1" w r 16|0x1000))
,out "found"
else out "not found"
Says "found" when there is no text. Says "not found" when there is a 1 character. The image is a 50x50 pixel white rectangle.