|
|
| def RanorexPython.ControlFindImage |
( |
|
hWnd, |
|
|
|
left, |
|
|
|
top, |
|
|
|
right, |
|
|
|
bottom, |
|
|
|
clipLeft, |
|
|
|
clipTop, |
|
|
|
clipRight, |
|
|
|
clipBottom | |
|
) |
| | |
The function searches an image on the screen within the control rectangle.
The positions are given in screen coordinates that are relative to the upper-left corner of the screen. - Parameters:
-
| hWnd | Handle to the window. |
| left | Left position of the image to compare. |
| top | Top position of the image to compare. |
| right | Right position of the image to compare. |
| bottom | Bottom position of the image to compare. |
| clipLeft | (optional) Left position of a clipping region inside the control (client coordinates). |
| clipTop | (optional) Top position of a clipping region inside the control (client coordinates). |
| clipRight | (optional) Right position of a clipping region inside the control (client coordinates). |
| clipBottom | (optional) Bottom position of a clipping region inside the control (client coordinates). |
- Returns:
- If the image is found, the return value is a (x,y) tuple containing the upper left position of the found image (screen coordinates), otherwise None.
|