[jawsscripts] Re: software with unfixed ctrl ID

  • From: Jamal Mazrui <empower@xxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Sat, 28 Jun 2008 12:45:08 -0400 (EDT)

The processing time would not be noticeable.  Let me suggest that you
try coding this technique, and if you get stuck, post your code to the
list for others to review,.  I will look at it, but others may have
ideas about improving it, too.

Jamal
On Sat, 28 Jun 2008, Jitendra wrote:

> Date: Sat, 28 Jun 2008 22:00:31 +0530
> From: Jitendra <jeet.invincible@xxxxxxxxx>
> Reply-To: jawsscripts@xxxxxxxxxxxxx
> To: jawsscripts@xxxxxxxxxxxxx
> Subject: [jawsscripts] Re: software with unfixed ctrl ID
>
>  Hello sir, it looks that this idea may work, but would it not be a long
> process?
> and as I am not very good at scripting, could you please explain eather
> off-list or onlist please?
> Thank you.
> Jamal Mazrui wrote: I suggest getting to the parent window, using
> GetFirstChildWindow, and then repeatedly using GetNextWindow, checking th=
e
> class of each window and counting ComboBoxes. I may not have the exact na=
mes
> 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>[1] Reply-To: jawsscripts@xxxxxxxxxxxxx[2] To:
> jawsscripts@xxxxxxxxxxxxx[3] Subject: [jawsscripts] Re: software with
> unfixedctrl ID perhaps jamal, he may need some example code of just how h=
e
> might go about this tracking though? ----- Original Message ----- From:
> "Jamal Mazrui" <empower@xxxxxxxxx>[4] To: <jawsscripts@xxxxxxxxxxxxx>[5]
> Sent: Saturday, June 28, 2008 10:33 PM Subject: [jawsscripts] Re: softwar=
e
> with unfixed ctrl ID Then, can't your code keep track of how many ComboBo=
xes
> 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>[6] Reply-To:
> jawsscripts@xxxxxxxxxxxxx[7]To: jawsscripts@xxxxxxxxxxxxx[8] Subject:
> [jawsscripts] Re: software with unfixed ctrl ID yes, always third I think=
,
> asit is printed by winDig at the end afte=3D r th=3D3D e other 2, (useles=
s).
> 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=
=3D3D
> On Sat, 28 Jun 2008, Jitendra wrote: Date: Sat, 28 Jun 2008 12:34:37 +05=
=3D 30
> From:Jitendra <jeet.invincible@xxxxxxxxx>[9][1] Reply-To:
> jawsscripts@xxxxxxxxxxxxx[10][2] To: jawsscripts@xxxxxxxxxxxxx[11][3]
> Subject=3D : [jawsscripts] Re: software with unfixed ctrl ID Thank you ja=
cki,
> Ion=3D ly w=3D3D ant to set my focus, to that combo box, and the statisst=
ics I
> gave does n=3D ot change, Like: [1.10.1.1.1.5
> WindowsForms10.COMBOBOX.app.0.378734a] width, hite and any other thing. s=
o,
> now what. this window has no name or prompt=3D3D , I can find it by the c=
lass
> name, but the app has 3 combo boxes. and for sur=3D3D e, they all have th=
eir
> own properties like this one. the control id chan=3D ges =3D3D on every a=
pp
> start. Thank, hope this info is enough, Glad to tell if you wan=3D3D t. J=
ackie
> McBride wrote: Jitendra: U know what? Perhaps it'd be a lot better=3D3D =
=3D3D3D
> ifyou'd tell us precisely what you're trying to do here. This looks l=3D =
ike
> =3D3D a .netapp, from the type of window u gave in your last post. If wha=
t
> you're trying to do is find it, then that could be as simple a matter as
> doi=3Dng 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=
=3D3D
> =3D3D3D toobtain lots &lots &lots &*lots! of info regarding just about an=
ythi=3D
> ng u wannaknow about an app, its window hierarchy, whatever. On 6/27/08,
> Jiten=3D3D =3D3D3D dra <jeet.invincible@xxxxxxxxx>[12][4][1] wrote: Hello=
, and
> thank you all=3D , an=3D3D d Jamal sir, this is the info taken from the w=
inDig
> output file, now, H=3D ow should =3D3D3D I use this number and with which
> functions? Thank you. o=3D r it i=3D3D s possible to usethese x or y info=
, or
> hite or width info to locate tha=3D t co=3D3D mbo box? and what if this n=
umber
> changes in next winDig file if I creat. [1.10.1.1.1.5
> WindowsForms10.COMBOBOX.app.0.378734a] alias=3D3D3D3DComb=3D oBox
> id=3D3D3D3D525072selec=3D3D3D ted=3D3D3D3D1 x=3D3D3D3D7% y=3D3D3D3D27% wi=
dth=3D
> =3D3D3D3D11% height=3D3D =3D3D3D3D2% Jamal Mazrui wrote: Yes, WinDig
> http://EmpowermentZone.com/wdsetup.exe[13][5][2][1] canhelp you understan=
d
> the hierarchy of controls in an application window=3D3D =3D3D2E Ituses an
> outlinenumberi=3D3D3D ng scheme to communicate this, e.g., t=3D he con=3D=
3D trol
> atthe level 1.2.3 means th=3D3D3D e third control contained in the sec=3D=
 ond
> co=3D3D ntrol of the top-level window tha=3D3D3D t was analyzed. Jamal On=
 Fri,
> 27Jun 2008, Jitendra wrote: Date: Fri, 27 Ju=3D3D3D n 2008 17:49:41 +0530
> From:Jit=3D endra <jeet.invincible@xxxxxxxxx>[14][6][3][2] Reply-To:
> jawsscripts@xxxxxxxxxxxxx[15][7][4][3] To:
> jawsscripts@xxxxxxxxxxxxx[16][8][5][4]Subject: [jawsscripts] Re: software
> wit=3D3D h unfixedctrl ID I don't know about the hierarchy, and have neve=
r
> usedperh=3D3D =3D3D3D aps in my scripts,so, where should I start from? do=
es win
> dig helps m=3D e ou=3D3D t init?and how. and if it changes, then what sho=
uld I
> do. Thank you. Marlon Brand&atilde;o de Sousa wrote: Does the hierarchy
> change? If it doesn=3D 't t=3D3D =3D3D3D hen you will need to start from =
the app
> main window and make all thew=3D ay t=3D3D o fo=3D3D3D cus or read the de=
sired
> window. If the hierarchy does change thenit=3D3D is a math=3D3D3D er of t=
ryals
> and errors untill you find a static relationshipbetw=3D3D een any compone=
nts
> upon you can base your criteria to fin=3D3D3D3D d a give=3D n wind=3D3D o=
w.
> Ma=3D3D3Drlon 2008/6/27, Jitendra <jeet.invincible@xxxxxxxxx>[17][9][6][5=
]=3D
> [1]: H=3D3D ello friends, =3D3D3D if there is a software that changes its
> controlid lik=3D e hand=3D3D les, how would y=3D3D3D ou get text or any i=
nfo out
> ofit? and if there are n=3D3D3D3D=3D3D o standard window classes, and it =
is
> designed like NLite and has win classe=3D3D =3D3D3D3D s:
> WindowsForms10.Window.8.app.0.378734a is it made in java? or something
> co=3D3D3D=3D3D3D3D uld be done with it? that sometime presents a list vie=
=3D w
> using =3D3D same winclass,andsometime some static text, and re-classing a=
lso
> doesn't work, wh=3D3D3Dat to =3D3D3D3D do then? virtualising works, but i=
f it is
> a list=3D , or som=3D3D e read onl=3D3D3D y typebox=3D3D3D3D , but jaws d=
oes not
> identifys it that way, =3D and we n=3D3D eed to scro=3D3D3D l downor up, =
then, in
> user buffer is it possible? and if th=3D ere ar=3D3D e withsam=3D3D3D e w=
in
> class=3D3D3D3D , there some items to be clicked, can=3D we make=3D3D some=
 virtual
> p=3D3D3D lace to select =3D3D3D3D one item and then press enter, =3D and =
the =3D3D
> user is then switche=3D3D3D d to the valid tab=3D3D3D3D ? Thank you. Jite=
ndra.
> __________=3D3D View the list's inform=3D3D3D ation and change yo=3D3D3D3=
D ur
> settings at //www.freelists.org/list/jawsscripts[18][10][7][6][2]---
> Links --- 1 mailto:jeet.invincible@xxxxxxxxx[19][11][8][7] 2
> //www.freelists.org/list/jawsscripts[20][12][9][8] __________=3D3D3D=
3D=3D
> A0Vie=3D3D w the list'sinformation and change your settings at
> //www.freelists.org/list/jawsscripts[21][13][10][9] __________ View =
=3D
> the list=3D3D3D 's information and change your settings at
> //www.freelists.org/list/jawsscripts[22][14][11][10] --- Links --- 1
> http://EmpowermentZone.com/wdsetup.exe[23][15][12] 2
> mailto:jeet.invincible@xxxxxxxxx[24][16][13]3
> mailto:jawsscripts@xxxxxxxxxxxxx[25][17][14=3D3D3D ] 4
> mailto:jawsscripts@xxxxxxxxxxxxx[26][18][15] 5
> mailto:jeet.invincible@xxxxxxxxx[27][19][1=3D3D3D 6]
> 6//www.freelists.org/list/jawsscripts[17] 7
> mailto:jeet.invincible@xxxxxxxxx[28][20][18] 8
> //www.freelists.org/list/jawsscripts[29][21][19] 9
> //www.freelists.org/list/jawsscripts[30][22][20] 10
> //www.freelists.org/list/jawsscripts[31][23][21] __________ View the
> lis=3D3D t's information and change your settings at
> //www.freelists.org/list/jawsscripts[32][24][22] --- Links --- 1
> mailto:jeet.invincible@xxxxxxxxx[33][25] 2
> http://EmpowermentZone.com/wdsetup.exe[34][26]3
> mailto:jeet.invincible@xxxxxxxxx[35][274
> mailto:jawsscripts@xxxxxxxxxxxxx[36][28]=3D3D 5
> mailto:jawsscripts@xxxxxxxxxxxxx[37][29] 6
> mailto:jeet.invincible@xxxxxxxxx[38][3=3D3D 0]
> 7//www.freelists.org/list/jawsscripts[31] 8
> mailto:jeet.invincible@xxxxxxxxx[39][32] 9
> //www.freelists.org/list/jawsscripts[40][33] 10
> //www.freelists.org/list/jawsscripts[41][34] 11
> //www.freelists.org/list/jawsscripts[42][35] 12
> http://EmpowermentZone.com/wdsetup.exe[43][36] 13
> mailto:jeet.invincible@xxxxxxxxx[44][37] 14
> mailto:jawsscripts@xxxxxxxxxxxxx[45[=3D3D 38] 15
> mailto:jawsscripts@xxxxxxxxxxxxx[46][39] 16
> mailto:jeet.invincible@xxxxxxxxx[47[40]17
> //www.freelists.org/list/jawsscripts[48][41] 18
> mailto:jeet.invincible@xxxxxxxxx[49][42] 19
> //www.freelists.org/list/jawsscripts[50][43] 20
> //www.freelists.org/list/jawsscripts[51][44] 21
> //www.freelists.org/list/jawsscripts[52][45] 22
> //www.freelists.org/list/jawsscripts[53][46] __________=3D3D3DA0 Vie=
w =3D
> the li=3D3D st's information and change your settings at
> //www.freelists.org/list/jawsscripts[54][47] __________ View the lis=
t's
> information and change your settings at
> //www.freelists.org/list/jawsscripts[55][48] --- Links --- 1
> mailto:jeet.invincible@xxxxxxxxx[56] 2 mailto:jawsscripts@xxxxxxxxxxxxx[5=
7]
> 3mailto:jawsscripts@xxxxxxxxxxxxx[58] 4 mailto:jeet.invincible@xxxxxxxxx[=
59]
> 5 http://EmpowermentZone.com/wdsetup.exe[60] 6
> mailto:jeet.invincible@xxxxxxxxx[61] 7 mailto:jawsscripts@xxxxxxxxxxxxx[6=
2]
> 8mailto:jawsscripts@xxxxxxxxxxxxx[63] 9 mailto:jeet.invincible@xxxxxxxxx[=
64]
> 10 //www.freelists.org/list/jawsscripts[65] 11
> mailto:jeet.invincible@xxxxxxxxx[66] 12
> //www.freelists.org/list/jawsscripts[67] 13
> //www.freelists.org/list/jawsscripts[68] 14
> //www.freelists.org/list/jawsscripts[69] 15
> http://EmpowermentZone.com/wdsetup.exe[70] 16
> mailto:jeet.invincible@xxxxxxxxx[71] 17 mailto:jawsscripts@xxxxxxxxxxxxx[=
72]
> 18 mailto:jawsscripts@xxxxxxxxxxxxx[73] 19
> mailto:jeet.invincible@xxxxxxxxx[74]20 mailto:jeet.invincible@xxxxxxxxx[7=
5]
> 21 //www.freelists.org/list/jawsscripts[76] 22
> //www.freelists.org/list/jawsscripts[77] 23
> //www.freelists.org/list/jawsscripts[78] 24
> //www.freelists.org/list/jawsscripts[79] 25
> mailto:jeet.invincible@xxxxxxxxx[80] 26
> http://EmpowermentZone.com/wdsetup.exe[81] 27
> mailto:jeet.invincible@xxxxxxxxx[82] 28 mailto:jawsscripts@xxxxxxxxxxxxx[=
83]
> 29 mailto:jawsscripts@xxxxxxxxxxxxx[84] 30
> mailto:jeet.invincible@xxxxxxxxx[85]31
> //www.freelists.org/list/jawsscripts[86] 32
> mailto:jeet.invincible@xxxxxxxxx[87] 33
> //www.freelists.org/list/jawsscripts[88] 34
> //www.freelists.org/list/jawsscripts[89] 35
> //www.freelists.org/list/jawsscripts[90] 36
> http://EmpowermentZone.com/wdsetup.exe[91] 37
> mailto:jeet.invincible@xxxxxxxxx[92] 38 mailto:jawsscripts@xxxxxxxxxxxxx[=
93]
> 39 mailto:jawsscripts@xxxxxxxxxxxxx[94] 40
> mailto:jeet.invincible@xxxxxxxxx[95]41
> //www.freelists.org/list/jawsscripts[96] 42
> mailto:jeet.invincible@xxxxxxxxx[97] 43
> //www.freelists.org/list/jawsscripts[98] 44
> //www.freelists.org/list/jawsscripts[99] 45
> //www.freelists.org/list/jawsscripts[99] 46
> //www.freelists.org/list/jawsscripts[99] 47
> //www.freelists.org/list/jawsscripts[99] 48
> //www.freelists.org/list/jawsscripts[99] __________=3D3DA0 View the
> list'sinformation and change your settings at
> //www.freelists.org/list/jawsscripts[99] __________ View the list's
> information and change your settings at
> //www.freelists.org/list/jawsscripts[99] __________=3DA0 View the li=
st's
> information and change your settings at
> //www.freelists.org/list/jawsscripts[99] __________  View the list's
> information and change your settings at
> //www.freelists.org/list/jawsscripts[99]
>
> --- Links ---
>    1 mailto:gch@xxxxxxxxxxxxxxxx
>    2 mailto:jawsscripts@xxxxxxxxxxxxx
>    3 mailto:jawsscripts@xxxxxxxxxxxxx
>    4 mailto:empower@xxxxxxxxx
>    5 mailto:jawsscripts@xxxxxxxxxxxxx
>    6 mailto:jeet.invincible@xxxxxxxxx
>    7 mailto:jawsscripts@xxxxxxxxxxxxx
>    8 mailto:jawsscripts@xxxxxxxxxxxxx
>    9 mailto:jeet.invincible@xxxxxxxxx
>   10 mailto:jawsscripts@xxxxxxxxxxxxx
>   11 mailto:jawsscripts@xxxxxxxxxxxxx
>   12 mailto:jeet.invincible@xxxxxxxxx
>   13 http://EmpowermentZone.com/wdsetup.exe
>   14 mailto:jeet.invincible@xxxxxxxxx
>   15 mailto:jawsscripts@xxxxxxxxxxxxx
>   16 mailto:jawsscripts@xxxxxxxxxxxxx
>   17 mailto:jeet.invincible@xxxxxxxxx
>   18 //www.freelists.org/list/jawsscripts
>   19 mailto:jeet.invincible@xxxxxxxxx
>   20 //www.freelists.org/list/jawsscripts
>   21 //www.freelists.org/list/jawsscripts
>   22 //www.freelists.org/list/jawsscripts
>   23 http://EmpowermentZone.com/wdsetup.exe
>   24 mailto:jeet.invincible@xxxxxxxxx
>   25 mailto:jawsscripts@xxxxxxxxxxxxx
>   26 mailto:jawsscripts@xxxxxxxxxxxxx
>   27 mailto:jeet.invincible@xxxxxxxxx
>   28 mailto:jeet.invincible@xxxxxxxxx
>   29 //www.freelists.org/list/jawsscripts
>   30 //www.freelists.org/list/jawsscripts
>   31 //www.freelists.org/list/jawsscripts
>   32 //www.freelists.org/list/jawsscripts
>   33 mailto:jeet.invincible@xxxxxxxxx
>   34 http://EmpowermentZone.com/wdsetup.exe
>   35 mailto:jeet.invincible@xxxxxxxxx
>   36 mailto:jawsscripts@xxxxxxxxxxxxx
>   37 mailto:jawsscripts@xxxxxxxxxxxxx
>   38 mailto:jeet.invincible@xxxxxxxxx
>   39 mailto:jeet.invincible@xxxxxxxxx
>   40 //www.freelists.org/list/jawsscripts
>   41 //www.freelists.org/list/jawsscripts
>   42 //www.freelists.org/list/jawsscripts
>   43 http://EmpowermentZone.com/wdsetup.exe
>   44 mailto:jeet.invincible@xxxxxxxxx
>   45 mailto:jawsscripts@xxxxxxxxxxxxx
>   46 mailto:jawsscripts@xxxxxxxxxxxxx
>   47 mailto:jeet.invincible@xxxxxxxxx
>   48 //www.freelists.org/list/jawsscripts
>   49 mailto:jeet.invincible@xxxxxxxxx
>   50 //www.freelists.org/list/jawsscripts
>   51 //www.freelists.org/list/jawsscripts
>   52 //www.freelists.org/list/jawsscripts
>   53 //www.freelists.org/list/jawsscripts
>   54 //www.freelists.org/list/jawsscripts
>   55 //www.freelists.org/list/jawsscripts
>   56 mailto:jeet.invincible@xxxxxxxxx
>   57 mailto:jawsscripts@xxxxxxxxxxxxx
>   58 mailto:jawsscripts@xxxxxxxxxxxxx
>   59 mailto:jeet.invincible@xxxxxxxxx
>   60 http://EmpowermentZone.com/wdsetup.exe
>   61 mailto:jeet.invincible@xxxxxxxxx
>   62 mailto:jawsscripts@xxxxxxxxxxxxx
>   63 mailto:jawsscripts@xxxxxxxxxxxxx
>   64 mailto:jeet.invincible@xxxxxxxxx
>   65 //www.freelists.org/list/jawsscripts
>   66 mailto:jeet.invincible@xxxxxxxxx
>   67 //www.freelists.org/list/jawsscripts
>   68 //www.freelists.org/list/jawsscripts
>   69 //www.freelists.org/list/jawsscripts
>   70 http://EmpowermentZone.com/wdsetup.exe
>   71 mailto:jeet.invincible@xxxxxxxxx
>   72 mailto:jawsscripts@xxxxxxxxxxxxx
>   73 mailto:jawsscripts@xxxxxxxxxxxxx
>   74 mailto:jeet.invincible@xxxxxxxxx
>   75 mailto:jeet.invincible@xxxxxxxxx
>   76 //www.freelists.org/list/jawsscripts
>   77 //www.freelists.org/list/jawsscripts
>   78 //www.freelists.org/list/jawsscripts
>   79 //www.freelists.org/list/jawsscripts
>   80 mailto:jeet.invincible@xxxxxxxxx
>   81 http://EmpowermentZone.com/wdsetup.exe
>   82 mailto:jeet.invincible@xxxxxxxxx
>   83 mailto:jawsscripts@xxxxxxxxxxxxx
>   84 mailto:jawsscripts@xxxxxxxxxxxxx
>   85 mailto:jeet.invincible@xxxxxxxxx
>   86 //www.freelists.org/list/jawsscripts
>   87 mailto:jeet.invincible@xxxxxxxxx
>   88 //www.freelists.org/list/jawsscripts
>   89 //www.freelists.org/list/jawsscripts
>   90 //www.freelists.org/list/jawsscripts
>   91 http://EmpowermentZone.com/wdsetup.exe
>   92 mailto:jeet.invincible@xxxxxxxxx
>   93 mailto:jawsscripts@xxxxxxxxxxxxx
>   94 mailto:jawsscripts@xxxxxxxxxxxxx
>   95 mailto:jeet.invincible@xxxxxxxxx
>   96 //www.freelists.org/list/jawsscripts
>   97 mailto:jeet.invincible@xxxxxxxxx
>   98 //www.freelists.org/list/jawsscripts
>   99 //www.freelists.org/list/jawsscripts
> __________=A0
> View the list's information and change your settings at
> //www.freelists.org/list/jawsscripts
>
__________ 
View the list's information and change your settings at 
//www.freelists.org/list/jawsscripts

Other related posts: