Hi Ty,I assume that the text is within a text edit window or terminal and you are not talking about a status line. Hopefully, the following will get you started. Make sure to press Control D inside this script to provide additional information, especially assign it a hotkey. I did not concentrate on the logic of this function, I attempted to give you insights into the JAWS Scripts issues you would encounter. If there is a status line at the bottom, use PriorLine () before using any logic so that the cursor is above the status line.
Script SayLastLine () Var String sLineSaveCursor () ; saves the prior cursor type (PC) - does not save its location
InvisibleCursor ()RouteInvisibleToPc () ; move the invisible cursor to the PC cursor location so it can be saved and returned to same location if moved
SaveCursor () ; Saves the cursor type and location ; The JAWS cursor is the mouse pointer; The invisible cursor works the same but does not cause the mouse to hover and change items
; The invisible cursor can not be clicked JAWSPageDown () ; Moves the invisible cursor to the vottom of the window JAWSHome () ; moves to the beginning of the line Let sLine = "" While sLine == "" PriorLine () Let sLine = GetLine () EndWhile SayMessage (OT_MESSAGE, "last line is " + sLine, "line = " + sLine); The RestoreCursor calls really are not necessary, since they will get popped off the stack when the script exits
RestoreCursor () RoutePcToInvisible () RestoreCursor () EndScript *Don Marang*Vinux Software Development Coordinator - vinuxproject.org <http://www.vinuxproject.org/> There is just so much stuff in the world that, to me, is devoid of any real substance, value, and content that I just try to make sure that I am working on things that matter.
-- Dean Kamen On 5/23/2011 9:00 PM, Littlefield, Tyler wrote:
Hello all:My message pretty much sums up my issue. I have a program where the bottom line of the window is blank, but I want to read the last bottom line where there is text. Is there a way to make jaws silently skip all lines, and read up and announce the last line where there is text?