searchRectangle
Global Property – Eggplant Specific Term
The searchRectangle global property takes two image locations or two pairs of coordinates indicating diagonal corners of the search rectangle. Regardless of the form you pass in, the return value is displayed as (x,y,x,y).
Example:
setoption SearchRectangle, ("DialogUpperLeft",imageLocation("DialogLowerRight") + (50,10)) // Sets the searchRectangle based on the hot spot location of DialogUpperLeft, and an adjustment of 50 pixels to the right and 10 pixels down from the hot spot location of DialogLowerRight
Further Reading
Resources in our other reference manuals.