• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Script for Kindle Cloud Reader
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Script for Kindle Cloud Reader


  • Subject: Script for Kindle Cloud Reader
  • From: Don Urquhart <email@hidden>
  • Date: Mon, 16 Feb 2015 12:54:57 -0800

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:
https://read.amazon.com
Thanks for any suggestions :-)

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Prev by Date: Re: Applescript Studio?
  • Next by Date: Re: Json
  • Previous by thread: Re: Json
  • Next by thread: Still No Go With Kindle Cloud Reader
  • Index(es):
    • Date
    • Thread