• 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
Still No Go With Kindle Cloud Reader
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Still No Go With Kindle Cloud Reader


  • Subject: Still No Go With Kindle Cloud Reader
  • From: Don Urquhart <email@hidden>
  • Date: Tue, 17 Feb 2015 00:03:54 -0800

Hi all,
I've been studying the Kindle Cloud Reader, as being a web-based app, it could be more readily made accessible to VoiceOver with scripting. I've put the native Mac app issue on hold for now, as UI Browser has expired and I can't purchase at the moment.

I've tested the following:
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, like:
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 the above, nor any variation on them, has revealed anything but "missing value" in the Script Result field. Is it possible they've set up the text of a book page so it's just not fetchable via code unless one has the mouse actually in the text region, or selects some text? If such is the case, scripting may not even be possible, unless Amazon would let me buy just a small bit of technical documentation specifying which web elements need to be clicked; even that may not help if mouse movement is absolutely required, as for security reasons one can't do that in a script.


 _______________________________________________
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: Json
  • Next by Date: Re: Json
  • Previous by thread: Script for Kindle Cloud Reader
  • Next by thread: SQlite
  • Index(es):
    • Date
    • Thread