Hello
For my word processing app I need to be able to retrieve a specific paragraph of a book that is opened in Books.app on Mac. Using Accessibility APIs I am able to descend the tree of views down to AXStaticText, however whenever I try to read AXValue I always get nil. Also, I cannot read that text using Apple Script (of course, Script Editor is enabled as an Accessibility app in Security & Privacy)
Xcode's Accessibility Inspector, however, returns correct text of the paragraph in Books I am pointing it to.
I was wondering if it could be due to some DRM protection? But if so, I don't understand, how come Accessibility Inspector is able to read the text?
Thanks!