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

  • From: Soronel Haetir <soronel.haetir@xxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Tue, 18 May 2010 19:23:01 -0800

Windows controls generally need a \r\n pair. (certainly the edit and
rich text box controls do).

StringSegment() looks like it could do what you're after (basically
the last line of a multi-line string, right?).

On 5/18/10, Geoff Chapman <gch@xxxxxxxxxxxxxxxx> wrote:
> 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
> //www.freelists.org/list/jawsscripts
>
>


-- 
Soronel Haetir
soronel.haetir@xxxxxxxxx
__________�

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

Other related posts: