Command description
Waits for specified text to appear or disappear on the Entire Screen, in the Active Window, or in a Specified Window.
| input parameters | Input parameter type | Description |
|---|
| Recognition Precision | enum | Standard or High Accuracy. Use High Accuracy when recognition quality is more important than speed |
| Search Scope | enum | Entire Screen, Active Window, Specified Window |
| Window Object | WindowInstance | Required when Search Scope is Specified Window |
| Text to Find | str | |
| Exists | enum | Exists, Does Not Exist |
| Wait Duration | number | Maximum time to wait, in seconds |
Command Output Parameters
| Output parameters | Output parameter type | Description |
|---|
| Wait Result | bool | |
Waiting for result description
| Current status | Conditions | return value |
|---|
| Text exists | Exists | Return True immediately |
| Text exists | Does Not Exist | Returns True when the text disappears, or False if it still exists when the timeout expires |
| Text does not exist | Does Not Exist | Returns True immediately |
| Text does not exist | Exists | Returns True when the text appears, or False if it is still absent when the timeout expires |
Type definition reference
- This command may send multiple recognition requests to the Runavelo server. Each request costs CNY 0.10, and new users receive 30 free recognitions. Recharge your account if the balance is insufficient.
- Prefer element capture when the target can be identified as an element. OCR accuracy is not guaranteed to be 100%.
Example