Get Similar Desktop Elements
Command description
Retrieve repeated desktop elements and save them as a list. Capture two matching examples in succession so Runavelo can identify their shared attributes. Use Get Related Desktop Elements to retrieve descendants of each result. For example, after retrieving the repeated message items in a WeChat conversation, use that command to get each message's timestamp and sender name.
Command Input Parameters
| input parameters | Input parameter type | Description |
|---|---|---|
| Desktop Element | str | UID of a captured similar desktop element, not its name or ms-rpa-id; the captured element must have the Similar Element type |
| Element Wait Duration | number | Maximum time to wait for matching elements, in seconds; returns an empty list if the timeout expires |
Command Output Parameters
| Output parameters | Output parameter type | Description |
|---|---|---|
| Similar Element List | list[WinElement] |
Type definition reference
tip
- Capture element reference Capture Desktop Elements
- If the required element has not been captured, the AI can call the
start_capture_similar_win_elementtool.
Example
Get all WeChat friend names