[jawsscripts] Re: One Note and Focus Change

  • From: "Bissett, Tom" <tom.bissett@xxxxxxx>
  • To: "'jawsscripts@xxxxxxxxxxxxx'" <jawsscripts@xxxxxxxxxxxxx>
  • Date: Tue, 23 Feb 2010 12:13:46 -0500

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

Other related posts: