• 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
Re: Some Hope For MS Word Accessibility
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Some Hope For MS Word Accessibility


  • Subject: Re: Some Hope For MS Word Accessibility
  • From: Don Urquhart <email@hidden>
  • Date: Fri, 24 Oct 2014 20:17:12 -0700

> set r to set range of text object of active document start s end e

Don’t think that will work; perhaps it did in an older version of Word? When I try this similar script, I get “Word got an error: text object doesn’t understand the set range message”:
tell application "Microsoft Word"
tell front window to set {theStart, theEnd} to selection's {selection start, selection end}
set theRange to set range of text object of active document start theStart end theEnd
set theRange to move end of range theRange by a line item count 1
set theText to content of theRange
end tell
tell application "VoiceOver" to output theText
On Oct 24, 2014, at 5:08 AM, Axel Luttgens <email@hidden> wrote:

set r to set range of text object of active document start s end e

 _______________________________________________
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

References: 
 >Some Hope For MS Word Accessibility (From: Don Urquhart <email@hidden>)
 >Re: Some Hope For MS Word Accessibility (From: Axel Luttgens <email@hidden>)

  • Prev by Date: UI Scripting For Custom App
  • Next by Date: Re: Some Hope For MS Word Accessibility
  • Previous by thread: Re: Some Hope For MS Word Accessibility
  • Next by thread: Re: Some Hope For MS Word Accessibility
  • Index(es):
    • Date
    • Thread