Click Text (OCR)
Command description
Use OCR to locate the specified text, move the mouse pointer to it, and click. Select High Accuracy for large recognition areas. The command reports an error if multiple matches are found.
Command Input Parameters
| input parameters | Input parameter type | Description |
|---|---|---|
| Precision | enum | High Accuracy, Standard; High Accuracy is recommended for better recognition results |
| Search Scope | enum | Entire Screen, Active Window, Specified Window |
| Window | WindowInstance | Required only when Search Scope is Specified Window |
| Target Text | str | |
| Click Method | enum | Single Click, Double Click |
| Mouse Button | enum | Left Button, Right Button |
| Mouse Position | enum | Center, Random |
| Modifier Key | enum | None, Ctrl, Alt, Shift |
| Post-Click Delay | number | Time to wait after clicking, in seconds |
Command Output Parameters
None
tip
- This command sends an OCR request to the Runavelo server. Each recognition costs CNY 0.10, and new users receive 30 free recognitions. Recharge through Runavelo if the balance is insufficient.
- When element capture is available, prefer an element-based command because OCR recognition is not guaranteed to be 100% accurate.