oh my god, I feel stupid is there a constants header file I need to include? I don't script much, but I do program in c. Is there a file I need to include with all the constant values? thanks -----Original Message----- From: jfw-bounce@xxxxxxxxxxxxx [mailto:jfw-bounce@xxxxxxxxxxxxx]On Behalf Of Jerry Neufeld Sent: Saturday, September 24, 2005 8:57 AM To: jfw@xxxxxxxxxxxxx Subject: Re: why doesn't this script line work Hello. Although this may not solve your problems completely, simply plug in a 0, followed immediately by a comma for S_Top, the same for unrestricted. Use the number 1 instead of 0 if you wish to search from bottom of screen up and the number 1 for restricted. Saves time and space. Good luck. Jerry ----- Original Message ----- From: "Michael Malver" <mmalver@xxxxxxxx> To: <jfw@xxxxxxxxxxxxx> Sent: Saturday, September 24, 2005 9:26 AM Subject: why doesn't this script line work >I am running jaws 6.2 > In a script I am writing, I want to find a string of text when I push a > key > When I use control-i to pull up the findstring funtion I am told it needs > four parameters: a window handle, a text string, the search direcction and > whether it is restricted or not. > the line I have looks like this > FindString (GetAppMainWindow (GetFocus ()), "left:" ,s_top > ,s_unrestricted) > the word "left" is in quotes because that is what I want to find. > When I try to save the script,I am told s_TOP is an unknown variable even > though it is listed as a constant both in help, and in the guided > parameter > entry screens. > Please help. This three line script shouldn't have taken me over two > hours > to debug. > > > -- > To post a message to the list, send it to jfw@xxxxxxxxxxxxx > To unsubscribe from this mailing list, send a message to > jfw-request@xxxxxxxxxxxxx with the word unsubscribe in the subject line. > Archives located at: //www.freelists.org/archives/jfw > > If you have any concerns about the list, post received from the list, or > the way the list is being run, do not post them to the list. Rather > contact the list owner at jfw-admins@xxxxxxxxxxxxxx -- To post a message to the list, send it to jfw@xxxxxxxxxxxxx To unsubscribe from this mailing list, send a message to jfw-request@xxxxxxxxxxxxx with the word unsubscribe in the subject line. Archives located at: //www.freelists.org/archives/jfw If you have any concerns about the list, post received from the list, or the way the list is being run, do not post them to the list. Rather contact the list owner at jfw-admins@xxxxxxxxxxxxxx -- To post a message to the list, send it to jfw@xxxxxxxxxxxxx To unsubscribe from this mailing list, send a message to jfw-request@xxxxxxxxxxxxx with the word unsubscribe in the subject line. Archives located at: //www.freelists.org/archives/jfw If you have any concerns about the list, post received from the list, or the way the list is being run, do not post them to the list. Rather contact the list owner at jfw-admins@xxxxxxxxxxxxxx