Skip to main content

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 parametersInput parameter typeDescription
Desktop ElementstrUID of a captured similar desktop element, not its name or ms-rpa-id; the captured element must have the Similar Element type
Element Wait DurationnumberMaximum time to wait for matching elements, in seconds; returns an empty list if the timeout expires

Command Output Parameters

Output parametersOutput parameter typeDescription
Similar Element Listlist[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_element tool.

Example

Get all WeChat friend names