[jawsscripts] Re: One Note and Focus Change

  • From: "Homme, James" <james.homme@xxxxxxxxxxxx>
  • To: "jawsscripts@xxxxxxxxxxxxx" <jawsscripts@xxxxxxxxxxxxx>
  • Date: Tue, 23 Feb 2010 13:08:58 -0500

Hi Tom,
The funny thing about this is that even though the default reports tree view, I 
go into script utility mode, formerly home row mode, and look at both the 
window and MSAA information, and none of it says that focus is looking at a 
treeview.

Jim

Jim Homme,
Usability Services,
Phone: 412-544-1810
Skype: jim.homme
Internal recipients,  Read my accessibility blog


-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx 
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Bissett, Tom
Sent: Tuesday, February 23, 2010 12:14 PM
To: 'jawsscripts@xxxxxxxxxxxxx'
Subject: [jawsscripts] Re: One Note and Focus Change

As James said there is a lot of chatter.  I have been unsuccessful at 
minimizing it.  I tried reclassing the window I think to just about all in the 
list that has anything to do with editing and had no luck.
The default claims that it is a treeview.  I find that strange.

Tom Bissett
BMO Financial Group
Technology and Operations Integrated Client Solutions
Tel: (416) 549-6514
E-Mail tom.bissett@xxxxxxx


-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx 
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Kevin Mattingly
Sent: February 23, 2010 11:34 AM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] One Note and Focus Change

Guys,
I'm trying to have the title of the page in one read when it changes. In 
general, you use the control-PageUp and Control-PageDown to move between pages. 
When you move between each page, the title of that paget changes and is listed 
at the top of the page. I only want it spoken when it changes and otherwise, I 
want ti to be silent. I wrote an 'If'  statement and used some varialbes to 
test and say the title when it changes. I think the logic is sound but the darn 
statement always shows up false I may just be a horrible programmer or just 
can't see this one. Here's the code I'm using. If you have an idea of what I'm 
doing wrong, please pass along a fix or suggestion.


Var
Handle HReal,
Int iCount,
String RealName,
String sTitle,
let GlobalFocusWindow=FocusWindow
let hReal=GetRealWindow(FocusWindow)
Let RealName = GetWindowName (hReal)
If RealName == sTitle && iCount == 1 Then
   SayString(RealName)
Else
   Let sTitle = RealName
   Let iCount = 1
; The following are checks for testing
;   SayInteger(iCount)
;   SayString(sTitle)
;   SayString(RealName)
EndIf
__________
Visit and contribute to The JAWS Script Repository http://jawsscripts.com

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

__________?
Visit and contribute to The JAWS Script Repository http://jawsscripts.com

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


This e-mail and any attachments to it are confidential and are intended solely 
for use of the individual or entity to whom they are addressed.  If you have 
received this e-mail in error, please notify the sender immediately and then 
delete it.  If you are not the intended recipient, you must not keep, use, 
disclose, copy or distribute this e-mail without the author's prior permission. 
 The views expressed in this e-mail message do not necessarily represent the 
views of Highmark Inc., its subsidiaries, or affiliates.
__________ 
Visit and contribute to The JAWS Script Repository http://jawsscripts.com

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

Other related posts: