0

When requesting the related SharedTextUIElements of a AXUIElement using:

var sharedTextElements: AnyObject?
guard AXUIElementCopyAttributeValue(element, kAXSharedTextUIElementsAttribute as CFString, &sharedTextElements)

The shared elements always return 0,0 as their position when doing

var posVal: AnyObject?
guard AXUIElementCopyAttributeValue(shardedElement, kAXPositionAttribute as CFString, &posVal)

... size and value are correct

Is there any attribute I have to set on those shared elements to force them to return the right value? I'm thankful for any suggestion.

Schurigeln
  • 189
  • 1
  • 7

0 Answers0