Action group: Vision
The action finds the text on the screen and gets its coordinates.
Text - text to find.
Language of the text - expected language of the text to find.
Timeout (ms) - the time in milliseconds during which the appearance of the specified text will be expected.
Search mode - search mode: by row to match or by word match.
Area - If the field is filled in, the search is performed only within the specified area
Result - variable which the the collection of points will be written into.
Property | Description | Type | Filling example | Mandatory field |
---|---|---|---|---|
Parameters | ||||
Text | Text to find. | Robin.String | Yes | |
Language of the text | Expected languages of the text to find | Robin.String | Yes | |
Timeout (ms) | The time in milliseconds during which the appearance of the specified text will be expected. | Robin.Numeric | No | |
Search mode | Search mode: by row match or by word match | Robin.String | No | |
Area | If param set, action would recognize text in selected area | Robin.RectangleL ocation | No | |
Results | ||||
Result | Returns collection of points | Robin.Collection |
If the text on the screen is not found, the robot will crash with errors: "Waiting time has expired" or "Text not found".
There is a text on the screen, it is necessary to recognize "Active sprints" (by word match) and return a collection of coordinate points found on the screen according to the given text. Then, get the value by index from the collection.
Use the "Find text on screen" action.
The program robot completed successfully. The collection of coordinate points found on screen according to the given text was returned. Center coordinates are returned.