[jawsscripts] How to read bottom line of string only?

  • From: "Geoff Chapman" <gch@xxxxxxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Wed, 19 May 2010 13:11:16 +1000

HI Scripters.  I wish to work out, from a bunch of text in a frame, how I 
can string monipulate such that I can read only the bottom line of a stack, 
which in this case will be the last call put on Hold, and which the keyboard 
focus will thus operate on when HoldRetreave is pressed from within this 
telephony interface application I'm scripting for?  I know it must probly 
have something to do with grabbing the whole  MultiLine string of the text 
in the frame, and somehow getting jaws to search from the right hand end of 
the string, backwards along the bottom line, until it reached a 
newLine/Carriage return character, then chopping everything from their to 
the left, returning the remainder botttom line? but, I'm just a bit fogged 
as to how to exactly code this type of funcionality?  Could anyone steer me 
on the right path here? and, is it a "\r" or "\n
 that I'd be looking for here? and is it double backslash that you have to 
enclose in quotes when looking for one of these? ive just forgotten somehow. 
thanks so much for any pointers/info.

geoff

__________�

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

Other related posts: