[jawsscripts] Re: JAVA API
- From: "Travis Roth" <travis@xxxxxxxxxxxxxx>
- To: <jawsscripts@xxxxxxxxxxxxx>
- Date: Mon, 23 Jun 2008 15:02:56 -0500
The return value of th StringContains function is being lost. It needs to be
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=
te simple so I don't know why its ignoring the else condition. I've copied=
the string to the clip board to make sure of the "QBE" not being in the st=
ring but the else is just not working. What the heck!!!!
StringContains (SListOfTables, "QBE")
if true then
let iTableIndexMin =3D 2
else
let iTableIndexMin =3D 1
endif
=
Oracle
Don Mauck | Accessibility Evangelist =
Cross Applications Unlimited
7700 Technology Way
Denver CO 80237
Phone (303) 334-4184
Email don.mauck@xxxxxxxxxx =
-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx [mailto:jawsscripts-bounce@freelists=
.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=
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 er, I may have just found a way to deal with my problem provided I can =
find=3D
a way to search a string for a given word, I assume I can search a string=
=3D correct? =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: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 fraid there is no direct access to that from a JAWS script except via t=
he N=3D
av* functions in the language. That API is not COM-based like MSAA, so we =
=3D can't get at methods and properties and structures etc. directly from a=
JAW=3D S script. You could if you were to write a DLL to COM-wrap the int=
erface I=3D 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 s scripting language? Can the script then get a true or false value ba=
ck f=3D rom the API given the fact that the API will be written specificall=
y to hav=3D e a true or false value? Thanks in advance.
=3D
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
=3D
__________?
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 http://www.freelists.org/list/jawsscripts
__________?
View the list's information and change your settings at http://www.freelist=
s.org/list/jawsscripts
--
Doug Lee, Senior Accessibility Programmer SSB BART Group - Accessibility-on=
-Demand mailto:doug.lee@xxxxxxxxxxxxxxxx http://www.ssbbartgroup.com "Whil=
e they were saying among themselves it cannot be done, it was done." --Hele=
n Keller __________ 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
- Follow-Ups:
- [jawsscripts] Re: JAVA API
- From: don mauck
- References:
- [jawsscripts] JAVA API
- From: don mauck
- [jawsscripts] Re: JAVA API
- From: Doug Lee
- [jawsscripts] Re: JAVA API
- From: don mauck
- [jawsscripts] Re: JAVA API
- From: Doug Lee
- [jawsscripts] Re: JAVA API
- From: don mauck
Other related posts:
- » [jawsscripts] JAVA API
- » [jawsscripts] Re: JAVA API
- » [jawsscripts] Re: JAVA API
- » [jawsscripts] Re: JAVA API
- » [jawsscripts] Re: JAVA API
- » [jawsscripts] Re: JAVA API
- » [jawsscripts] Re: JAVA API
- » [jawsscripts] Re: JAVA API
- [jawsscripts] Re: JAVA API
- From: don mauck
- [jawsscripts] JAVA API
- From: don mauck
- [jawsscripts] Re: JAVA API
- From: Doug Lee
- [jawsscripts] Re: JAVA API
- From: don mauck
- [jawsscripts] Re: JAVA API
- From: Doug Lee
- [jawsscripts] Re: JAVA API
- From: don mauck