[jawsscripts] Re: Bottom Edge Question

Mike, I haven't seen Rumba   but I have done a lot of work scripting for
mainframe access. I don't know if this is possible in Rumba but I
suspect that screen coordinates are displayed on the status line. If so,
you could  create code to check the location  of the pc cursor (i.e.
line 24) and use an if else endif structure in your code to  handle the
situation when you are on the last line of the column.

Eg.

Int function whereAmI ()
Var
Int lineNumber
;insert code to get the current line number 
lineNumber = ;your code
Return lineNumber
Endfunction

Script SayWordOnNextLine () 
If whereAmI() <  24 then
SaveCursor () 
InvisibleCursor () 
RouteInvisibleToPc () 
NextLine () 
SayWord () 
RoutePcToInvisible () 
Else
; insert your code to run when at bottom of column
endif
EndScript 


W
-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] 
Sent: January 16, 2008 17:03
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Bottom Edge Question

I have a very simple script to read the word directly under the PC
cursor and then move to that word. This is for Rumba. I m using it to
read columns of text on the mainframe. It works fine except when I get
to the bottom of the page, then it just says blank. What I'd like to do
is know how to recognize the bottom edge and do or say something other
than 'blank'. 

The script is as I said very simple. 

Script SayWordOnNextLine () 
SaveCursor () 
InvisibleCursor () 
RouteInvisibleToPc () 
NextLine () 
SayWord () 
RoutePcToInvisible () 
EndScript 

I found a BottomEdgeEvent function and a ProcessBoundaryStrike function
but I can't tell a lot about how they are used. The only reference
material I have is what comes with Jaws. 

I have reclassed the window to a multi Line edit window. I don't know if
that is the correct thing to do or not. 

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

Other related posts: