Hi Jamal,
Here is a little routine I use to have JFW notify me that I am at the top or
bottom of a list...it seems to work in everything I've been using it
on--with the exception of the message list in Outlook Express, and I'm not
sure why!  I'll do some more tinkering though.  These aren't official
HJ-sanctioned scripts, they are just something I've done to work around the
lack of a Top and Bottom limit notifier.
1)  Hit Control+Shift++0 to launch the JFW Script utility with the
default.jss file loaded.
2)  Hit F2 until it gets you to the "SayPriorLine" script.
3)  Arrow down to the line that states "var" and hit the End Key.
4) Whack the Enter key, and on this new line, type "string LineText,".
Don't forget the comma at the end of that line.
5)  Arrow down to the line that reads "PriorLine()" and hit Home key.
6)  Hit Enter, then arrow up to the blank line and type
"let LineText=GetLine()".
This will save the current line's contents to the variable "LineText".
So basically, I save the current line's text, then the PriorLine() function
on the next line in the script will move the cursor to to a new location,
and I've got it comparing the new location's contents with the contents
saved in the LineText variable; if they match, say the word "Top", beep the
speaker, and say the chunk of text again.
Here is that routine:
7)  Arrow down to the line that states "EndScript", and go up one line.  If
it isn't a blank line, hit End and hit Enter.
8)  Type in the following routine, (or you can cut and paste it if it would
be easier).
If(GetLine() == LineText) Then
SayString("Top")
Beep()
SayChunk()
Return
Else
SayChunk()
EndIf

9)  Hit Control+S to compile the script and fix any syntax errors.

10)  Hit F2 until you get to the script "SayNextLine()"., then repeat items
3 through 9.  The only item different will be item#5; the line you'll look
for here is "NextLine()", instead of "PriorLine()".

Hope this is useful...at least until HJ puts some of these features in the
upcoming release.

Thanks,
Dennis Brown, [EMAIL PROTECTED]
Visit the BlindProgramming  web site at
http://brown99.home.mindspring.com





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

Reply via email to