[jawsscripts] Re: software with unfixed ctrl ID

I suggest getting to the parent window, using GetFirstChildWindow, and
then repeatedly using GetNextWindow, checking the class of each window
and counting ComboBoxes.  I may not have the exact names of those
functions right.

Jamal
On Sat, 28 Jun 2008, Geoff Chapman wrote:

> Date: Sat, 28 Jun 2008 22:49:26 +1000
> From: Geoff Chapman <gch@xxxxxxxxxxxxxxxx>
> Reply-To: jawsscripts@xxxxxxxxxxxxx
> To: jawsscripts@xxxxxxxxxxxxx
> Subject: [jawsscripts] Re: software with unfixed ctrl ID
>
> perhaps jamal, he may need some example code of  just
> how he might go about this tracking though?
>
> ----- Original Message -----
> From: "Jamal Mazrui" <empower@xxxxxxxxx>
> To: <jawsscripts@xxxxxxxxxxxxx>
> Sent: Saturday, June 28, 2008 10:33 PM
> Subject: [jawsscripts] Re: software with unfixed ctrl ID
>
>
> > Then, can't your code keep track of how many ComboBoxes it has found,
> > and consider the right one to be that number?
> >
> > Jamal
> > On Sat, 28 Jun 2008, Jitendra
> > wrote:
> >
> > > Date: Sat, 28 Jun 2008 17:52:12 +0530
> > > From: Jitendra <jeet.invincible@xxxxxxxxx>
> > > Reply-To: jawsscripts@xxxxxxxxxxxxx
> > > To: jawsscripts@xxxxxxxxxxxxx
> > > Subject: [jawsscripts] Re: software with unfixed ctrl ID
> > >
> > >
> > > yes, always third I think, as it is printed by winDig at the end afte=
r
> th=3D
> > e
> > > other 2, (useless).
> > > Jamal Mazrui wrote: Isn't the ComboBox of interest always in the same
> > > sequential order relative to the others, e.g., the second ComboBox?
> Jamal=3D
> >  On
> > > Sat, 28 Jun 2008, Jitendra wrote: Date: Sat, 28 Jun 2008 12:34:37 +05=
30
> > > From:Jitendra <jeet.invincible@xxxxxxxxx>[1] Reply-To:
> > > jawsscripts@xxxxxxxxxxxxx[2] To: jawsscripts@xxxxxxxxxxxxx[3] Subject=
:
> > > [jawsscripts] Re: software with unfixed ctrl ID Thank you jacki, I on=
ly
> w=3D
> > ant
> > > to set my focus, to that combo box, and the statisstics I gave does n=
ot
> > > change, Like: [1.10.1.1.1.5 WindowsForms10.COMBOBOX.app.0.378734a]
> width,
> > > hite and any other thing. so, now what. this window has no name or
> prompt=3D
> > , I
> > > can find it by the class name, but the app has 3 combo boxes. and for
> sur=3D
> > e,
> > > they all have their own properties like this one. the control id chan=
ges
> =3D
> > on
> > > every app start. Thank, hope this info is enough, Glad to tell if you
> wan=3D
> > t.
> > > Jackie McBride wrote: Jitendra: U know what? Perhaps it'd be a lot
> better=3D
> > =3D3D
> > > ifyou'd tell us precisely what you're trying to do here. This looks l=
ike
> =3D
> > a
> > > .netapp, from the type of window u gave in your last post. If what
> you're
> > > trying to do is find it, then that could be as simple a matter as doi=
ng
> a
> > > findWindow, using the appMainWindow as your starting point, or a
> > > clickObjectByName, if in fact it has 1. Doug Lee's bx toolbox can be
> used=3D
> > =3D3D
> > > toobtain lots &lots &lots &*lots! of info regarding just about anythi=
ng
> u
> > > wannaknow about an app, its window hierarchy, whatever. On 6/27/08,
> Jiten=3D
> > =3D3D
> > > dra <jeet.invincible@xxxxxxxxx>[4][1] wrote: Hello, and thank you all=
,
> an=3D
> > d
> > > Jamal sir, this is the info taken from the winDig output file, now, H=
ow
> > > should =3D3D I use this number and with which functions? Thank you. o=
r it
> i=3D
> > s
> > > possible to usethese x or y info, or hite or width info to locate tha=
t
> co=3D
> > mbo
> > > box? and what if this number changes in next winDig file if I creat.
> > > [1.10.1.1.1.5 WindowsForms10.COMBOBOX.app.0.378734a] alias=3D3D3DComb=
oBox
> > > id=3D3D3D525072 selec=3D3D ted=3D3D3D1 x=3D3D3D7% y=3D3D3D27% width=
=3D3D3D11%
> height=3D
> > =3D3D3D2% Jamal
> > > Mazrui wrote: Yes, WinDig
> http://EmpowermentZone.com/wdsetup.exe[5][2][1]
> > > canhelp you understand the hierarchy of controls in an application
> window=3D
> > =3D2E
> > > Ituses an outline numberi=3D3D ng scheme to communicate this, e.g., t=
he
> con=3D
> > trol
> > > at the level 1.2.3 means th=3D3D e third control contained in the sec=
ond
> co=3D
> > ntrol
> > > of the top-level window tha=3D3D t was analyzed. Jamal On Fri, 27 Jun
> 2008,
> > > Jitendra wrote: Date: Fri, 27 Ju=3D3D n 2008 17:49:41 +0530 From: Jit=
endra
> > > <jeet.invincible@xxxxxxxxx>[6][3][2] Reply-To:
> > > jawsscripts@xxxxxxxxxxxxx[7][4][3] To:
> > > jawsscripts@xxxxxxxxxxxxx[8][5][4]Subject: [jawsscripts] Re: software
> wit=3D
> > h
> > > unfixedctrl ID I don't know about the hierarchy, and have never used
> perh=3D
> > =3D3D
> > > aps in my scripts,so, where should I start from? does win dig helps m=
e
> ou=3D
> > t
> > > init?and how. and if it changes, then what should I do. Thank you.
> Marlon
> > > Brand&atilde;o de Sousa wrote: Does the hierarchy change? If it doesn=
't
> t=3D
> > =3D3D
> > > hen you will need to start from the app main window and make all thew=
ay
> t=3D
> > o
> > > fo=3D3D cus or read the desired window. If the hierarchy does change
> thenit=3D
> >  is a
> > > math=3D3D er of tryals and errors untill you find a static
> relationshipbetw=3D
> > een
> > > any components upon you can base your criteria to fin=3D3D3D d a give=
n
> wind=3D
> > ow.
> > > Ma=3D3D rlon 2008/6/27, Jitendra <jeet.invincible@xxxxxxxxx>[9][6][5]=
[1]:
> H=3D
> > ello
> > > friends, =3D3D if there is a software that changes its control id lik=
e
> hand=3D
> > les,
> > > how would y=3D3D ou get text or any info out of it? and if there are
> n=3D3D3D=3D
> >  o
> > > standard window classes, and it is designed like NLite and has win
> classe=3D
> > =3D3D3D
> > > s: WindowsForms10.Window.8.app.0.378734a is it made in java? or
> something
> > > co=3D3D=3D3D3D uld be done with it? that sometime presents a list vie=
w using
> =3D
> > same
> > > winclass,andsometime some static text, and re-classing also doesn't
> work,
> > > wh=3D3Dat to =3D3D3D do then? virtualising works, but if it is a list=
, or
> som=3D
> > e read
> > > onl=3D3D y typebox=3D3D3D , but jaws does not identifys it that way, =
and we
> n=3D
> > eed to
> > > scro=3D3D l downor up, then, in user buffer is it possible? and if th=
ere
> ar=3D
> > e
> > > withsam=3D3D e win class=3D3D3D , there some items to be clicked, can=
 we
> make=3D
> >  some
> > > virtual p=3D3D lace to select =3D3D3D one item and then press enter, =
and the
> =3D
> > user is
> > > then switche=3D3D d to the valid tab=3D3D3D ? Thank you. Jitendra.
> __________=3D
> >  View
> > > the list's inform=3D3D ation and change yo=3D3D3D ur settings at
> > > http://www.freelists.org/list/jawsscripts[10][7][6][2]--- Links --- 1
> > > mailto:jeet.invincible@xxxxxxxxx[11][8][7] 2
> > > http://www.freelists.org/list/jawsscripts[12][9][8] __________=3D3D3D=
A0
> Vie=3D
> > w the
> > > list'sinformation and change your settings at
> > > http://www.freelists.org/list/jawsscripts[13][10][9] __________ View =
the
> > > list=3D3D 's information and change your settings at
> > > http://www.freelists.org/list/jawsscripts[14][11][10] --- Links --- 1
> > > http://EmpowermentZone.com/wdsetup.exe[15][12] 2
> > > mailto:jeet.invincible@xxxxxxxxx[16][13]3
> > > mailto:jawsscripts@xxxxxxxxxxxxx[17][14=3D3D ] 4
> > > mailto:jawsscripts@xxxxxxxxxxxxx[18][15] 5
> > > mailto:jeet.invincible@xxxxxxxxx[19][1=3D3D 6]
> > > 6http://www.freelists.org/list/jawsscripts[17] 7
> > > mailto:jeet.invincible@xxxxxxxxx[20][18] 8
> > > http://www.freelists.org/list/jawsscripts[21][19] 9
> > > http://www.freelists.org/list/jawsscripts[22][20] 10
> > > http://www.freelists.org/list/jawsscripts[23][21] __________ View the
> lis=3D
> > t's
> > > information and change your settings at
> > > http://www.freelists.org/list/jawsscripts[24][22] --- Links --- 1
> > > mailto:jeet.invincible@xxxxxxxxx[25] 2
> > > http://EmpowermentZone.com/wdsetup.exe[26]3
> > > mailto:jeet.invincible@xxxxxxxxx[274
> mailto:jawsscripts@xxxxxxxxxxxxx[28]=3D
> >  5
> > > mailto:jawsscripts@xxxxxxxxxxxxx[29] 6
> mailto:jeet.invincible@xxxxxxxxx[3=3D
> > 0]
> > > 7http://www.freelists.org/list/jawsscripts[31] 8
> > > mailto:jeet.invincible@xxxxxxxxx[32] 9
> > > http://www.freelists.org/list/jawsscripts[33] 10
> > > http://www.freelists.org/list/jawsscripts[34] 11
> > > http://www.freelists.org/list/jawsscripts[35] 12
> > > http://EmpowermentZone.com/wdsetup.exe[36] 13
> > > mailto:jeet.invincible@xxxxxxxxx[37] 14
> mailto:jawsscripts@xxxxxxxxxxxxx[=3D
> > 38]
> > > 15 mailto:jawsscripts@xxxxxxxxxxxxx[39] 16
> > > mailto:jeet.invincible@xxxxxxxxx[40]17
> > > http://www.freelists.org/list/jawsscripts[41] 18
> > > mailto:jeet.invincible@xxxxxxxxx[42] 19
> > > http://www.freelists.org/list/jawsscripts[43] 20
> > > http://www.freelists.org/list/jawsscripts[44] 21
> > > http://www.freelists.org/list/jawsscripts[45] 22
> > > http://www.freelists.org/list/jawsscripts[46] __________=3D3DA0 View =
the
> li=3D
> > st's
> > > information and change your settings at
> > > http://www.freelists.org/list/jawsscripts[47] __________  View the
> list's
> > > information and change your settings at
> > > http://www.freelists.org/list/jawsscripts[48]
> > >
> > >
> > > --- Links ---
> > >    1 mailto:jeet.invincible@xxxxxxxxx
> > >    2 mailto:jawsscripts@xxxxxxxxxxxxx
> > >    3 mailto:jawsscripts@xxxxxxxxxxxxx
> > >    4 mailto:jeet.invincible@xxxxxxxxx
> > >    5 http://EmpowermentZone.com/wdsetup.exe
> > >    6 mailto:jeet.invincible@xxxxxxxxx
> > >    7 mailto:jawsscripts@xxxxxxxxxxxxx
> > >    8 mailto:jawsscripts@xxxxxxxxxxxxx
> > >    9 mailto:jeet.invincible@xxxxxxxxx
> > >   10 http://www.freelists.org/list/jawsscripts
> > >   11 mailto:jeet.invincible@xxxxxxxxx
> > >   12 http://www.freelists.org/list/jawsscripts
> > >   13 http://www.freelists.org/list/jawsscripts
> > >   14 http://www.freelists.org/list/jawsscripts
> > >   15 http://EmpowermentZone.com/wdsetup.exe
> > >   16 mailto:jeet.invincible@xxxxxxxxx
> > >   17 mailto:jawsscripts@xxxxxxxxxxxxx
> > >   18 mailto:jawsscripts@xxxxxxxxxxxxx
> > >   19 mailto:jeet.invincible@xxxxxxxxx
> > >   20 mailto:jeet.invincible@xxxxxxxxx
> > >   21 http://www.freelists.org/list/jawsscripts
> > >   22 http://www.freelists.org/list/jawsscripts
> > >   23 http://www.freelists.org/list/jawsscripts
> > >   24 http://www.freelists.org/list/jawsscripts
> > >   25 mailto:jeet.invincible@xxxxxxxxx
> > >   26 http://EmpowermentZone.com/wdsetup.exe
> > >   27 mailto:jeet.invincible@xxxxxxxxx
> > >   28 mailto:jawsscripts@xxxxxxxxxxxxx
> > >   29 mailto:jawsscripts@xxxxxxxxxxxxx
> > >   30 mailto:jeet.invincible@xxxxxxxxx
> > >   31 http://www.freelists.org/list/jawsscripts
> > >   32 mailto:jeet.invincible@xxxxxxxxx
> > >   33 http://www.freelists.org/list/jawsscripts
> > >   34 http://www.freelists.org/list/jawsscripts
> > >   35 http://www.freelists.org/list/jawsscripts
> > >   36 http://EmpowermentZone.com/wdsetup.exe
> > >   37 mailto:jeet.invincible@xxxxxxxxx
> > >   38 mailto:jawsscripts@xxxxxxxxxxxxx
> > >   39 mailto:jawsscripts@xxxxxxxxxxxxx
> > >   40 mailto:jeet.invincible@xxxxxxxxx
> > >   41 http://www.freelists.org/list/jawsscripts
> > >   42 mailto:jeet.invincible@xxxxxxxxx
> > >   43 http://www.freelists.org/list/jawsscripts
> > >   44 http://www.freelists.org/list/jawsscripts
> > >   45 http://www.freelists.org/list/jawsscripts
> > >   46 http://www.freelists.org/list/jawsscripts
> > >   47 http://www.freelists.org/list/jawsscripts
> > >   48 http://www.freelists.org/list/jawsscripts
> > > __________=3DA0
> > > 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
> >
>
> __________=A0
> 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

Other related posts: