Product Purchase Download Contact us Affiliates

Text search based on image

»Download a trial now( Free )!!

Text search based on image


Search a text on the screen, the text first will be converted into an image, and then the searching process uses the image to match the text in the specified area on the screen, then return the X and Y coordinates into the variables for the subsequent actions.

You may use "Text search based on image" to retrieve a string's position and then use "Click mouse button" to click it. For example, you may use this way to select an item from a list box or combo box. Unlike the instruction "Image search", you just specify a string rather than a bitmap file name.

Click here to show the figure

Parameters

  • Rectangular area for searching Specifies the area for searching.

  • Text to search for Specifies the text should be searched.

  • Font Specifies the font name, size and other parameters. These parameters should be consistent with the text on the screen, otherwise, the searching may fail.

  • Match image exactly Specifies whether to match the text image exactly in the area.

  • Return coordinate if searching is successful Specifies the variable's name which should be populated with the X and Y coordinate value.

Notes:

  • 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.





    © 2002 - 2007 GrassSoftware, All rights reserved.
    Privacy Policy | Contact us | About us | Links | Affiliate | Site map