Hey, Awesome dave,


One thing I did in an app  that had no insertion point cursor and used
the pageDown key to move down one screen at a time, is to use the jaws
cursor to read the window.  I turned restriction on with the jaws cursor
inside the window.  Then, I defined a BottomEdge event function which
will run when the jaws cursor hits the bottom edge of the window.  The
BottomEdgeEvent function then issues a pageDown to the app, pauses for
the app to do it's work, then positions the jaws cursor back at the top
of the window.  I did likewise on the Top edge.  So, you can just read
down line by line with the jaws cursor never knowing that the screen is
jumping frame by frame as you do so.

About the getTextBetween function, you have to find the places you want
by moving the jaws or invisible cursor and looking for the text you care
about, then use GetCursorCol and GetCursorRow to get the pixel
coordinants of interest.  GetTextBetween only works on a single line of
the screen.  If you try to determine these manually and hard code them
into your script, you will be suprised because they won't work if the
window size changes.  A frame might be a good alternative.  Then, you can
get the text associated with a frame in your script.


Jim Snowbarger
-
Visit the jfw ml web page: http://jfw.cjb.net

Reply via email to