[jawsscripts] Re: Finding Word along a line, not using FindString in whole window

  • From: "Geoff Chapman" <gch@xxxxxxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Mon, 15 Oct 2007 01:15:33 +1000

hi david. right! thanks for this man! so, would it keep executing the s_next
movement would it, to the bottom of the window,
until the string was found? or not?
would it keep wrapping lines too in order to do this? of course I guess It
would have to,
but that this would just enable the search to start from a given point in
the window.
is that the deal?
Thanks.
----- Original Message ----- 
From: "David Maynard" <dmaynard35@xxxxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Thursday, October 11, 2007 9:40 PM
Subject: [jawsscripts] Re: Finding Word along a line, not using FindString
in whole window


>
>
> Hi Jeff;
>
> Assuming you are at the beginning of the line try something like this:
> FindString (GetCurrentWindow (), "word", s_next, s_restricted)
>
> S_next and s_prior have been documented only once or twice since they
> were put in in version 3 or 4.
>
> hth
>
> David Maynard
>
> Franklin NC
>
> dmaynard35@xxxxxxxxxxx
>
>
> At Thursday 10/11/2007, you wrote:
> >Guys, is there a way2, there must be surely, to do a FindString in a
> >given area, in this case, along a line, rather than have to use the
> >large and clunky, FindString s_top s_Restricted whole deal, where it
> >starts from top of whole window and looks all over?
> >I wish to just do it more specificly in a certain area/along a given
> >line etc, in order to be more elegant and not risk finding the wrong
> >occurrance of the string. There must be some function to do it, but
> >I just can't think of it right now. any takers?
> >
> >thanks.
> >
> >geoff c.
> >
> >
> >
> >__________
> >View the list's information and change your settings at
> >http://www.freelists.org/list/jawsscripts
> >
> >
> >
> >--
> >No virus found in this incoming message.
> >Checked by AVG Free Edition. Version: 7.5.488 / Virus Database:
> >269.14.7/1062 - Release Date: 10/10/2007 5:11 PM
>
> __________
> View the list's information and change your settings at
> http://www.freelists.org/list/jawsscripts
>
__________ 
View the list's information and change your settings at 
http://www.freelists.org/list/jawsscripts

Other related posts: