Boy do I feel stupid, your right and I should have known better, thanks. = = Oracle Don Mauck | Accessibility Evangelist = Cross Applications Unlimited 7700 Technology Way Denver CO 80237 Phone (303) 334-4184 Email don.mauck@xxxxxxxxxx = -----Original Message----- BFrom: jawsscripts-bounce@xxxxxxxxxxxxx [mailto:jawsscripts-bounce@freelist= s.org] On Behalf Of Travis Roth Sent: Monday, June 23, 2008 2:03 PM To: jawsscripts@xxxxxxxxxxxxx Subject: [jawsscripts] Re: JAVA API The return value of th StringContains function is being lost. It needs to b= e contained in the IF statement. Writing if true then always will be true as true is a constant. Use this style: if StringContains (SListOfTables, "QBE") then -----Original Message----- From: jawsscripts-bounce@xxxxxxxxxxxxx [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of don mauck Sent: Monday, June 23, 2008 2:36 PM To: jawsscripts@xxxxxxxxxxxxx Subject: [jawsscripts] Re: JAVA API Can anyone see anything with this little snippet that is incorrect, its qui= =3D te simple so I don't know why its ignoring the else condition. I've co= pied=3D the string to the clip board to make sure of the "QBE" not being i= n the st=3D ring but the else is just not working. What the heck!!!! StringContains (SListOfTables, "QBE") if true then let iTableIndexMin =3D3D 2 else let iTableIndexMin =3D3D 1 endif =3D Oracle Don Mauck | Accessibility Evangelist =3D Cross Applications Unlimited 7700 Technology Way Denver CO 80237 Phone (303) 334-4184 Email don.mauck@xxxxxxxxxx =3D -----Original Message----- From: jawsscripts-bounce@xxxxxxxxxxxxx [mailto:jawsscripts-bounce@freelists= =3D .org] On Behalf Of Doug Lee Sent: Monday, June 23, 2008 11:24 AM To: jawsscripts@xxxxxxxxxxxxx Subject: [jawsscripts] Re: JAVA API Look up StringContains in the Script Manager or the FSDN, and for case inse= =3D nsitive searching, StringLower. On Mon, Jun 23, 2008 at 11:06:32AM -0600, don mauck wrote: Well, actually the API would be a JAVA API that the application uses, howev= =3D =3D3D er, I may have just found a way to deal with my problem provided = I can =3D find=3D3D a way to search a string for a given word, I assume I can search a string= =3D =3D3D correct? =3D3D Oracle Don Mauck | Accessibility Evangelist =3D3D Cross Applications Unlimited 7700 Technology Way Denver CO 80237 Phone (303) 334-4184 Email don.mauck@xxxxxxxxxx =3D3D -----Original Message----- From: jawsscripts-bounce@xxxxxxxxxxxxx [mailto:jawsscripts-bounce@freelists= =3D =3D3D .org] On Behalf Of Doug Lee Sent: Monday, June 23, 2008 11:02 AM To: jawsscripts@xxxxxxxxxxxxx Subject: [jawsscripts] Re: JAVA API Do you mean the Java Access Bridge API from the Windows side? If so, I'm a= =3D =3D3D fraid there is no direct access to that from a JAWS script except= via t=3D he N=3D3D av* functions in the language. That API is not COM-based like MSAA, so we = =3D =3D3D can't get at methods and properties and structures etc. directly = from a=3D JAW=3D3D S script. You could if you were to write a DLL to COM-= wrap the int=3D erface I=3D3D suppose. Apologies if you're referring to something else entirely. On Mon, Jun 23, 2008 at 10:36:31AM -0600, don mauck wrote: Does anyone have any experience with calling a JAVA API from within the Jaw= =3D =3D3D s scripting language? Can the script then get a true or false va= lue ba=3D ck f=3D3D rom the API given the fact that the API will be written= specificall=3D y to hav=3D3D e a true or false value? Thanks in advance. =3D3D Oracle <http://www.oracle.com/> Don Mauck | Accessibility Evangelist Cross Applications Unlimited 7700 Technology Way Denver CO 80237 Phone (303) 334-4184 Email don.mauck@xxxxxxxxxx =3D3D __________? View the list's information and change your settings at http://www.freelist= =3D =3D3D s.org/list/jawsscripts -- Doug Lee, Senior Accessibility Programmer SSB BART Group - Accessibility-on= =3D =3D3D -Demand mailto:doug.lee@xxxxxxxxxxxxxxxx http://www.ssbbartgroup= .com "=3D Whil=3D3D e they were saying among themselves it cannot be done, = it was done.=3D " --Hele=3D3D n Keller __________ View the list's informati= on and change your=3D settings at=3D3D //www.freelists.org/list/jaws= scripts __________? View the list's information and change your settings at http://www.freelist= =3D s.org/list/jawsscripts -- Doug Lee, Senior Accessibility Programmer SSB BART Group - Accessibility-on= =3D -Demand mailto:doug.lee@xxxxxxxxxxxxxxxx http://www.ssbbartgroup.com "= Whil=3D e they were saying among themselves it cannot be done, it was done.= " --Hele=3D n Keller __________ View the list's information and change your= settings at=3D //www.freelists.org/list/jawsscripts __________ View the list's information and change your settings at http://www.freelist= s.org/list/jawsscripts __________ View the list's information and change your settings at http://www.freelist= s.org/list/jawsscripts __________ View the list's information and change your settings at //www.freelists.org/list/jawsscripts