Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
monitor blank area of window for any change
#8
To debug it, insert out 1 and out 2 above and below the wait line:

out 1 ;;note: at this time the area must be still blank
wait 0 -S "" w r 16 ;;during this waiting time the area should become non-blank
out 2 ;;now the area is non-blank

If the macro works as expected, it should print 1 and 2 in the output.
If it prints only 1, probably nothing changed in that area while the wait line is waiting.

I tested this macro with the screenshot in Firefox. The area initially is blank. When I run the macro, it prints 1. Then when I scroll the page, the text is scrolled into the area, and the macro prints 2.

Macro Macro247
Code:
Copy      Help
out
RECT r
SetRect &r 1600 260 1700 300
int w=win("monitor blank area of window for any change - Mozilla Firefox" "MozillaWindowClass")
out 1
wait 0 -S "" w r 16
out 2


Messages In This Thread
RE: monitor blank area of window for any change - by Gintaras - 01-20-2019, 10:11 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)