Man! Sure is! thanks a bunch Sean! "That's exactly what I needed to know! Thank you. ----- Original Message ----- From: "Sean Randall" <seanr@xxxxxxxxxxxxxxx> To: <jawsscripts@xxxxxxxxxxxxx> Sent: Wednesday, April 22, 2009 10:41 AM Subject: [jawsscripts] Re: Code to enable user to feed FindString with desired text. > Geoff, > > The function you're after is InputBox. You can specify a title and text > for > the dialog and it will put whatever the user types into a string (which > can > then be used with FindString, naturally) > > The ExMessageBox function lets you pop up message boxes with alternate > buttons "yes, no, cancel, continue" etc - so you may want to consider > using > that - for instance if your script has searched a few screens, you might > want to the ask the user if they'd like to wait while you perform a more > extensive search. > > Hope that's helpful, > Sean. > > -----Original Message----- > From: jawsscripts-bounce@xxxxxxxxxxxxx > [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Geoff Chapman > Sent: Tuesday, April 21, 2009 11:54 PM > To: jawsscripts@xxxxxxxxxxxxx > Subject: [jawsscripts] Code to enable user to feed FindString with desired > text. > > mighty Scripters. could anyone possibly give me a code example of how I > might make the FindString command, become accepting of external user > Input? > like how I could put things in my script so that when the key was hit, it > pops up some user interactive dialog box with an edit field, into which I > could ask them to type their desired string to find, then press enter, and > it would feed that back into the standard FindString function within a > script? > > thanks heaps for any suggestions/function names/code examples as to how I > might accomplish this? > the builtin JawsFind function isn't gunna do it for me, because it keeps > wanting to pop up errors if the string cannot be found on one single > screen, > and I need my script to ssearch through multiple pages/screens worth, and > for me to be able to then generate my own user seeable error if not found, > presumably using the MessageBox function? > > thanks heaps. > > geoff c. > > > __________ > Visit and contribute to The JAWS Script Repository http://jawsscripts.com > > View the list's information and change your settings at > http://www.freelists.org/list/jawsscripts > > __________ > Visit and contribute to The JAWS Script Repository http://jawsscripts.com > > View the list's information and change your settings at > http://www.freelists.org/list/jawsscripts > > __________ Visit and contribute to The JAWS Script Repository http://jawsscripts.com View the list's information and change your settings at http://www.freelists.org/list/jawsscripts