Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help with error message
#2
When runs code like this
Code:
Copy      Help
int w=win("Window")
lef 367 166 w 1

lef converts point 367 166 from window w client area coordinates to screen coordinates, moves the mouse pointer there, and clicks. But error if then at that point is another window, because it probably would click wrong window. Either that point is not in window w rectangle, or some other window is on top (maybe a temporary window), or part of window is not in screen and the point is there.

The easiest way to get rid of this error - add flag 2:
Code:
Copy      Help
int w=win("Window")
lef 367 166 w 1|2

or click in screen coordinates, like
Code:
Copy      Help
lef 967 566


Messages In This Thread
Help with error message - by raptor1810 - 06-05-2021, 02:39 AM
RE: Help with error message - by Gintaras - 06-05-2021, 07:04 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)