The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
WAIT command does not run in rep loop
#1
Code:
Copy      Help
RECT r; r.left=292; r.top=433; r.right=641; r.bottom=559;
rep
    out "starting watch"
    wait -1 -S "" rs r
    out "change occured"

(rs is declared correctly)

outputs:
starting watch
*screen change occurs*
change occured
starting watch

then no matter how much the screen region changes, no change is detected.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)