Andy Matuschak@andy_matuschak·Apr 15, 2021I've tried to get this via accessibility / AppleScript APIs but it seems not to be exposed through them. I think you'd have to do something like a SIMBL plugin. :(1
Andy Matuschak@andy_matuschakReplying to @craigmodOK, this is super silly, but you could do a binary search with: func accessibilityRange(for point: NSPoint) -> NSRange https://developer.apple.com/documentation/appkit/nsaccessibilityprotocol/1531615-accessibilityrange…11:20 PM · Apr 15, 2021·TweetDeck1 Like