Text search based on imageSearches a text on the screen, and then carry out a mouse move or click action. The text first will be converted into an image, and then the searching routine searches for the image in the specified area on the screen. If a match is present, the X and Y coordinates could be retrieved for the subsequent actions as well. Unlike the instruction "Image search", you just specify a string rather than a bitmap file. Click here to show the figure![]() Parameters
About the options after searching, please refer to "After Searching"
If the text does not locate in the area, the coordinate value -1, -1 will be returned, and an error will throw.
You may use the instruction "Image search" to retrieve the position of an icon, button, or other shape.
| |