[jawsscripts] Re: Scripts for OneNote 2010

  • From: "Tony Hernandez" <tonyhspeaks@xxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Wed, 23 Mar 2011 16:49:58 -0400

Hi Travis. 

Perhaps it would be better to override the scripts that navigate by line
instead, using SayObjectTypeAndText if the control in question has the
focus, etc., and performing the normal script if not. That might eliminate
the double speak and retain the object text in other controls.

Tony Hernandez
http://dutyofman.net/
Let us hear the conclusion of the whole matter: Fear God, and keep His
commandments, for this is the whole duty of man. For God shall bring every
work into judgment, with every secret thing, whether it be good, or whether
it be evil. (Ecclesiastes 12:13-14)

-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Travis Roth
Sent: Wednesday, March 23, 2011 4:38 PM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Scripts for OneNote 2010

Hi,
Has anyone tried to script OneNote 2010?
At a brief glance it seems there is quite a bit of info available via MSAA
objects.
JAWS can also read text in a document, and SayObjectTypeAndText() picks up
alt text for graphics.
The first issue I had was that each time I moved by line in a document, JAWS
read the line twice. It appears that JAWS is using two functions to read the
text, one the default sayLine code? And the second time is caused by
SayObjectTypeAndText() being called.
I overrode SayObjectTypeAndText() to not read when the document class is in
focus, which removes the double reading. But it is hard to say what other
bugs this will introduce - for starters alt text for graphics isn't read.

Before I experiment further I am wondering if anyone else has already looked
at OneNote 2010 and drawn any conclusions?

- Travis Roth


__________o?=

View the list's information and change your settings at 
//www.freelists.org/list/jawsscripts


__________�

View the list's information and change your settings at 
//www.freelists.org/list/jawsscripts

Other related posts: