Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
monitor blank area of window for any change
#4
In the dialog just capture a window or control and enter a name for a RECT variable. Click OK. It creates code like, this:
Macro Macro201
Code:
Copy      Help
RECT r
int w=win("Untitled - Notepad" "Notepad")
wait 0 -S "" w r 16
It also shows in the output pane how to set the variable. Combined code would be:
Macro Macro201
Code:
Copy      Help
RECT r
SetRect &r 50 50 100 100 ;;coordinates in the client area of the window
int w=win("Untitled - Notepad" "Notepad")
wait 0 -S "" w r 16
To define a rectangle area, edit the values in the SetRect line. They are coordinates of left, top, right and bottom. You can see mouse coordinates in the status bar of the Quick Macros window.


Messages In This Thread
RE: monitor blank area of window for any change - by Gintaras - 01-19-2019, 07:18 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)