Hi all, Still trying to get VoiceOver to read Kindle books on my Mac. After a half-hour chat with a CSR at Amazon, I get the sense that it’s just not in their business agenda to fix the accessibility of the native Kindle Mac app. So, I’ve been studying the Cloud Reader web app. Theoretically it should be easier to make accessible than the native app, via combination of AppleScript and _javascript_. However, whichever element I try, I get “missing value” in the script result field. The element inspector in Safari is difficult to use with VoiceOver, so was hoping to just use quick AppleScripts to spy out the html, like this:
set theScript to " document.getElementsByTagName ('iframe')[0].innerHTML();" tell application "Safari" activate set theText to do _javascript_ theScript in document 1 -- tell application "VoiceOver" to output theText end tell
Or, a variation: set theScript to " document.getElementByID (‘kindleReader_book_container').innerHTML();" tell application "Safari" activate set theText to do _javascript_ theScript in document 1 -- tell application "VoiceOver" to output theText end tell
Neither of these return anything but “missing value”. Is it possible they’ve made the html ungrabable programatically as a way to protect the text of a book from copying? I know there have been DRM issues with the author’s guild and publishers, but Kindles are readable on the IOS devices, so not sure if DRM is the issue here.
The Kindle Cloud Reader I’m studying is at site: Thanks for any suggestions :-)
|