Hello all,
I have an application which explores accessibility structure. It is something similar to what Accessibility Inspector does.
I have developed it using the old API.
Using functions like AXUIElementCreateApplication
or AXUIElementCopyAttributeValue
and having to deal with pointers manually.
Would it be possible to rewrite that code using NSAccessibility?
I have read some doc about it but it seems it is designed to set accessibility in your OWN application, not for retrieving accessibility from external application.
Explore accessibility structure using NSAccessibility
That has been my conclusion. I first released my UI Browser application to explore the accessibility structure in 2002, and it has used the old API ever since. See https://pfiddlesoft.com/uibrowser.