[jawsscripts] Bible Pane

  • From: "Dean Masters" <dwmasters@xxxxxxxxxxxxx>
  • To: "JAWS Scripts" <jawsscripts@xxxxxxxxxxxxx>
  • Date: Wed, 26 Aug 2009 21:36:28 -0400

I am trying to work with the SwordSearcher bible software. It has a lot of 
keystrokes built into it but there are things that could be done to make it 
more accessible. One thing is that there are different panes. If you hit F10 
the bible pane is maximized and all other panes are hidden. If F10 is hit 
again the Bible Pane is hidden.

I was trying to get it so that the invisible cursor went to that pane and 
read it when the shortcut key was hit. Sometimes it reads parts of the 
parent windows but it never reads the whole pane.

A parent window is the TBiblePane. In home row mode if you go down two 
windows, over two windows, down two windows then over two windows you find 
the TPaintPanel which is where the text is. Here is the script I have 
written which might read some of the text:

Script BookPane ()

DoAndSayCurrentKeystroke (); function I created that does what it says

JAWSCursor ()

MoveToWindow(GetNextWindow (GetNextWindow (GetFirstChild (GetFirstChild 
(GetNextWindow (GetNextWindow (GetFirstChild (GetFirstChild 
(FindDescendantWindow (GetAppMainWindow (GetCurrentWindow ()), 
id_Bible))))))))))

Delay (5, false)

RouteInvisibleToJAWS ()

InvisibleCursor ()

SetRestriction (RestrictWindow)

SayAll ()

EndScript


It seems like the hierarchy is always there even if the pane is hidden so I 
can't figure out how to tell it when to read and when not to read.

Thanks for all ideas,
Dean 


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

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

Other related posts: