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

  • From: "David Farough" <David.Farough@xxxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Fri, 12 Oct 2007 09:48:58 -0400

Yes it does.
IsKeyWaiting will return true as soon as a key is pressed.

David Farough
Application Accessibility Coordinator/coordonateur de l'accessibilité 
Information Technology Services Directorate /
Direction des services d'information technologiques
Public Service Commission / Commission de la fonction publique
Email / Courriel:  David.Farough@xxxxxxxxxxxxx
Tel. / Tél:    (613) 992-2779 

>>> <james.homme@xxxxxxxxxxxx> 07:23 am Friday, October 12, 2007 >>>
Hi,
Does this code mean that any key press would stop the loop?

Thanks.

Jim

James D Homme, , Usability Engineering, Highmark Inc.,
james.homme@xxxxxxxxxxxx, 412-544-1810

"It's more important for me to start to do the right thing than it is
to
wait until I think I
can do it just right."




                                                                      

             "Daniel Dalton"                                          

             <daniel.dalton47@                                        

             gmail.com>                                                
To
             Sent by:                  jawsscripts@xxxxxxxxxxxxx      

             jawsscripts-bounc                                         
cc
             e@xxxxxxxxxxxxx                                          

                                                                  
Subject
                                       [jawsscripts] Re: Finding Word 

             10/11/2007 05:06          along a line, not using
FindString
             PM                        in whole window                

                                                                      

                                                                      

             Please respond to                                        

             jawsscripts@freel                                        

                 ists.org                                             

                                                                      

                                                                      





Much better than my way.

On 12/10/2007 1:31 AM, David Farough wrote:
> how about
> if Stringcontains (GetLine(), "Search string") then
>    do something
> else
> while loop with nextLine () and similar if as above.  Making sure to
> exit the loop when found You might also include the isKeyWaiting()
> function in the while loop.
>
> The lloop might look something like
> while (not Stringcontains (GetLine(), "Search string") && not
> IsKeyWaiting())
> NextLine ()
> EndWhile
>
> David Farough
> Application Accessibility Coordinator/coordonateur de
l'accessibilité
> Information Technology Services Directorate /
> Direction des services d'information technologiques
> Public Service Commission / Commission de la fonction publique
> Email / Courriel:  David.Farough@xxxxxxxxxxxxx 
> Tel. / Tél:    (613) 992-2779
>
>>>> "Geoff Chapman" <gch@xxxxxxxxxxxxxxxx> 07:21 am Thursday, October
> 11, 2007 >>>
> 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 
>
> __________
> View the list's information and change your settings at
> http://www.freelists.org/list/jawsscripts 
>
>
--
Daniel Dalton

http://members.iinet.net.au/~ddalton/ 
daniel.dalton47@xxxxxxxxx 
__________
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 

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

Other related posts: