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
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