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 toexit 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") && notIsKeyWaiting()) NextLine () EndWhile David FaroughApplication 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@xxxxxxxxxxxxxTel. / Tél: (613) 992-2779"Geoff Chapman" <gch@xxxxxxxxxxxxxxxx> 07:21 am Thursday, October11, 2007 >>> Guys, is there a way2, there must be surely, to do a FindString in agiven area, in this case, along a line, rather than have to use the large andclunky, FindString s_top s_Restricted whole deal, where it starts fromtop of whole window and looks all over?I wish to just do it more specificly in a certain area/along a givenline 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