[jawsscripts] Re: software with unfixed ctrl ID

Jitendra:

var
handle hw,
int i,

let i = 0;
while (i < 3)
let hw = FindWindow(WindowClass, "")
let i = i+1
endWhile
if( hw) then
SetFocus(hw)
else
say("window not found, cannot set focus", ot_message)

WindowClass represents the class of the window you're looking for.

On 6/28/08, Jitendra <jeet.invincible@xxxxxxxxx> wrote:
>  May be not, as I don't know how to do that, and would be of great help if
> you do, I will send function in next mail.
> Jamal Mazrui wrote: 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>[1] Reply-To:
> jawsscripts@xxxxxxxxxxxxx[2]To: jawsscripts@xxxxxxxxxxxxx[3] Subject:
> [jawsscripts] Re: software with unfixed ctrl ID yes, always third I think,
> asit is printed by winDig at the end after th= 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= On Sat, 28
> Jun 2008, Jitendra wrote: Date: Sat, 28 Jun 2008 12:34:37 +0530
> From:Jitendra<jeet.invincible@xxxxxxxxx>[4][1] Reply-To:
> jawsscripts@xxxxxxxxxxxxx[5][2] To: jawsscripts@xxxxxxxxxxxxx[6][3] Subject:
> [jawsscripts] Re: software with unfixed ctrl ID Thank you jacki, I only w=
> ant to set my focus, to that combo box, and the statisstics I gave does not
> 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= ,
> I can find it by the class name, but the app has 3 combo boxes. and for sur=
> e, they all have their own properties like this one. the control id changes
> =on every app start. Thank, hope this info is enough, Glad to tell if you
> wan= t. Jackie McBride wrote: Jitendra: U know what? Perhaps it'd be a lot
> better= =3D ifyou'd tell us precisely what you're trying to do here. This
> looks like = 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
> asdoing 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 toobtain lots &lots &lots &*lots! of info regarding just about anything
> uwannaknow about an app, its window hierarchy, whatever. On 6/27/08, Jiten=
> =3D dra <jeet.invincible@xxxxxxxxx>[7][4][1] wrote: Hello, and thank you
> all,an= d Jamal sir, this is the info taken from the winDig output file,
> now,How should =3D I use this number and with which functions? Thank you. or
> it i= s possible to usethese x or y info, or hite or width info to locate
> that co= 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=3D3DComboBox id=3D3D525072 selec=3D ted=3D3D1 x=3D3D7% y=3D3D27%
> width=3D3D11% height= =3D3D2% Jamal Mazrui wrote: Yes, WinDig
> http://EmpowermentZone.com/wdsetup.exe[8][5][2][1] canhelp you understand
> thehierarchy of controls in an application window= =2E Ituses an outline
> numberi=3D ng scheme to communicate this, e.g., the con= trol at the level
> 1.2.3 means th=3D e third control contained in the second co= ntrol of the
> top-level window tha=3D t was analyzed. Jamal On Fri, 27 Jun 2008, Jitendra
> wrote: Date: Fri, 27 Ju=3D n 2008 17:49:41 +0530 From: Jitendra
> <jeet.invincible@xxxxxxxxx>[9][6][3][2] Reply-To:
> jawsscripts@xxxxxxxxxxxxx[10][7][4][3] To:
> jawsscripts@xxxxxxxxxxxxx[11][8][5][4]Subject: [jawsscripts] Re: software
> wit= h unfixedctrl ID I don't know about the hierarchy, and have never used
> perh= =3D aps in my scripts,so, where should I start from? does win dig
> helpsme ou= 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 hen you will need to start from the app main window and make
> all theway t= o fo=3D cus or read the desired window. If the hierarchy does
> change thenit= is a math=3D er of tryals and errors untill you find a static
> relationshipbetw= een any components upon you can base your criteria to
> fin=3D3D d a given wind= ow. Ma=3D rlon 2008/6/27, Jitendra
> <jeet.invincible@xxxxxxxxx>[12][9][6][5][1]: H= ello friends, =3D if there
> isa software that changes its control id like hand= les, how would y=3D ou
> get text or any info out of it? and if there are n=3D3D= o standard window
> classes, and it is designed like NLite and has win classe= =3D3D s:
> WindowsForms10.Window.8.app.0.378734a is it made in java? or something
> co=3D=3D3D uld be done with it? that sometime presents a list view using =
> same winclass,andsometime some static text, and re-classing also doesn't
> work, wh=3Dat to =3D3D do then? virtualising works, but if it is a list, or
> som= e read onl=3D y typebox=3D3D , but jaws does not identifys it that way,
> and we n= eed to scro=3D l downor up, then, in user buffer is it possible?
> and if there ar= e withsam=3D e win class=3D3D , there some items to be
> clicked, can we make= some virtual p=3D lace to select =3D3D one item and
> then press enter, and the = user is then switche=3D d to the valid tab=3D3D
> ?Thank you. Jitendra. __________= View the list's inform=3D ation and change
> yo=3D3D ur settings at
> http://www.freelists.org/list/jawsscripts[13][10][7][6][2]--- Links --- 1
> mailto:jeet.invincible@xxxxxxxxx[14][11][8][7] 2
> http://www.freelists.org/list/jawsscripts[15][12][9][8] __________=3D3DA0
> Vie= w the list'sinformation and change your settings at
> http://www.freelists.org/list/jawsscripts[16][13][10][9] __________ View the
> list=3D 's information and change your settings at
> http://www.freelists.org/list/jawsscripts[17][14][11][10] --- Links --- 1
> http://EmpowermentZone.com/wdsetup.exe[18][15][12] 2
> mailto:jeet.invincible@xxxxxxxxx[19][16][13]3
> mailto:jawsscripts@xxxxxxxxxxxxx[20][17][14=3D ] 4
> mailto:jawsscripts@xxxxxxxxxxxxx[21][18][15] 5
> mailto:jeet.invincible@xxxxxxxxx[22][19][1=3D 6]
> 6http://www.freelists.org/list/jawsscripts[17] 7
> mailto:jeet.invincible@xxxxxxxxx[23][20][18] 8
> http://www.freelists.org/list/jawsscripts[24][21][19] 9
> http://www.freelists.org/list/jawsscripts[25][22][20] 10
> http://www.freelists.org/list/jawsscripts[26][23][21] __________ View the
> lis= t's information and change your settings at
> http://www.freelists.org/list/jawsscripts[27][24][22] --- Links --- 1
> mailto:jeet.invincible@xxxxxxxxx[28][25] 2
> http://EmpowermentZone.com/wdsetup.exe[29][26]3
> mailto:jeet.invincible@xxxxxxxxx[30][274
> mailto:jawsscripts@xxxxxxxxxxxxx[31][28]= 5
> mailto:jawsscripts@xxxxxxxxxxxxx[32[29] 6
> mailto:jeet.invincible@xxxxxxxxx[33][3= 0]
> 7http://www.freelists.org/list/jawsscripts[31] 8
> mailto:jeet.invincible@xxxxxxxxx[34][32] 9
> http://www.freelists.org/list/jawsscripts[35][33] 10
> http://www.freelists.org/list/jawsscripts[36][34] 11
> http://www.freelists.org/list/jawsscripts[37][35] 12
> http://EmpowermentZone.com/wdsetup.exe[38][36] 13
> mailto:jeet.invincible@xxxxxxxxx[39][37] 14
> mailto:jawsscripts@xxxxxxxxxxxxx[40[= 38] 15
> mailto:jawsscripts@xxxxxxxxxxxxx[41][39] 16
> mailto:jeet.invincible@xxxxxxxxx[42[40]17
> http://www.freelists.org/list/jawsscripts[43][41] 18
> mailto:jeet.invincible@xxxxxxxxx[44][42] 19
> http://www.freelists.org/list/jawsscripts[45][43] 20
> http://www.freelists.org/list/jawsscripts[46][44] 21
> http://www.freelists.org/list/jawsscripts[47][45] 22
> http://www.freelists.org/list/jawsscripts[48][46] __________=3DA0 View the
> li= st's information and change your settings at
> http://www.freelists.org/list/jawsscripts[49][47] __________ View the list's
> information and change your settings at
> http://www.freelists.org/list/jawsscripts[50][48] --- Links --- 1
> mailto:jeet.invincible@xxxxxxxxx[51] 2 mailto:jawsscripts@xxxxxxxxxxxxx[52]
> 3mailto:jawsscripts@xxxxxxxxxxxxx[53] 4 mailto:jeet.invincible@xxxxxxxxx[54]
> 5 http://EmpowermentZone.com/wdsetup.exe[55] 6
> mailto:jeet.invincible@xxxxxxxxx[56] 7 mailto:jawsscripts@xxxxxxxxxxxxx[57]
> 8mailto:jawsscripts@xxxxxxxxxxxxx[58] 9 mailto:jeet.invincible@xxxxxxxxx[59]
> 10 http://www.freelists.org/list/jawsscripts[60] 11
> mailto:jeet.invincible@xxxxxxxxx[61] 12
> http://www.freelists.org/list/jawsscripts[62] 13
> http://www.freelists.org/list/jawsscripts[63] 14
> http://www.freelists.org/list/jawsscripts[64] 15
> http://EmpowermentZone.com/wdsetup.exe[65] 16
> mailto:jeet.invincible@xxxxxxxxx[66] 17 mailto:jawsscripts@xxxxxxxxxxxxx[67]
> 18 mailto:jawsscripts@xxxxxxxxxxxxx[68] 19
> mailto:jeet.invincible@xxxxxxxxx[69]20 mailto:jeet.invincible@xxxxxxxxx[70]
> 21 http://www.freelists.org/list/jawsscripts[71] 22
> http://www.freelists.org/list/jawsscripts[72] 23
> http://www.freelists.org/list/jawsscripts[73] 24
> http://www.freelists.org/list/jawsscripts[74] 25
> mailto:jeet.invincible@xxxxxxxxx[75] 26
> http://EmpowermentZone.com/wdsetup.exe[76] 27
> mailto:jeet.invincible@xxxxxxxxx[77] 28 mailto:jawsscripts@xxxxxxxxxxxxx[78]
> 29 mailto:jawsscripts@xxxxxxxxxxxxx[79] 30
> mailto:jeet.invincible@xxxxxxxxx[80]31
> http://www.freelists.org/list/jawsscripts[81] 32
> mailto:jeet.invincible@xxxxxxxxx[82] 33
> http://www.freelists.org/list/jawsscripts[83] 34
> http://www.freelists.org/list/jawsscripts[84] 35
> http://www.freelists.org/list/jawsscripts[85] 36
> http://EmpowermentZone.com/wdsetup.exe[86] 37
> mailto:jeet.invincible@xxxxxxxxx[87] 38 mailto:jawsscripts@xxxxxxxxxxxxx[88]
> 39 mailto:jawsscripts@xxxxxxxxxxxxx[89] 40
> mailto:jeet.invincible@xxxxxxxxx[90]41
> http://www.freelists.org/list/jawsscripts[91] 42
> mailto:jeet.invincible@xxxxxxxxx[92] 43
> http://www.freelists.org/list/jawsscripts[93] 44
> http://www.freelists.org/list/jawsscripts[94] 45
> http://www.freelists.org/list/jawsscripts[95] 46
> http://www.freelists.org/list/jawsscripts[96] 47
> http://www.freelists.org/list/jawsscripts[97] 48
> http://www.freelists.org/list/jawsscripts[98] __________=A0 View the list's
> information and change your settings at
> http://www.freelists.org/list/jawsscripts[99] __________  View the list's
> information and change your settings at
> http://www.freelists.org/list/jawsscripts[99]
>
> --- Links ---
>    1 mailto:jeet.invincible@xxxxxxxxx
>    2 mailto:jawsscripts@xxxxxxxxxxxxx
>    3 mailto:jawsscripts@xxxxxxxxxxxxx
>    4 mailto:jeet.invincible@xxxxxxxxx
>    5 mailto:jawsscripts@xxxxxxxxxxxxx
>    6 mailto:jawsscripts@xxxxxxxxxxxxx
>    7 mailto:jeet.invincible@xxxxxxxxx
>    8 http://EmpowermentZone.com/wdsetup.exe
>    9 mailto:jeet.invincible@xxxxxxxxx
>   10 mailto:jawsscripts@xxxxxxxxxxxxx
>   11 mailto:jawsscripts@xxxxxxxxxxxxx
>   12 mailto:jeet.invincible@xxxxxxxxx
>   13 http://www.freelists.org/list/jawsscripts
>   14 mailto:jeet.invincible@xxxxxxxxx
>   15 http://www.freelists.org/list/jawsscripts
>   16 http://www.freelists.org/list/jawsscripts
>   17 http://www.freelists.org/list/jawsscripts
>   18 http://EmpowermentZone.com/wdsetup.exe
>   19 mailto:jeet.invincible@xxxxxxxxx
>   20 mailto:jawsscripts@xxxxxxxxxxxxx
>   21 mailto:jawsscripts@xxxxxxxxxxxxx
>   22 mailto:jeet.invincible@xxxxxxxxx
>   23 mailto:jeet.invincible@xxxxxxxxx
>   24 http://www.freelists.org/list/jawsscripts
>   25 http://www.freelists.org/list/jawsscripts
>   26 http://www.freelists.org/list/jawsscripts
>   27 http://www.freelists.org/list/jawsscripts
>   28 mailto:jeet.invincible@xxxxxxxxx
>   29 http://EmpowermentZone.com/wdsetup.exe
>   30 mailto:jeet.invincible@xxxxxxxxx
>   31 mailto:jawsscripts@xxxxxxxxxxxxx
>   32 mailto:jawsscripts@xxxxxxxxxxxxx
>   33 mailto:jeet.invincible@xxxxxxxxx
>   34 mailto:jeet.invincible@xxxxxxxxx
>   35 http://www.freelists.org/list/jawsscripts
>   36 http://www.freelists.org/list/jawsscripts
>   37 http://www.freelists.org/list/jawsscripts
>   38 http://EmpowermentZone.com/wdsetup.exe
>   39 mailto:jeet.invincible@xxxxxxxxx
>   40 mailto:jawsscripts@xxxxxxxxxxxxx
>   41 mailto:jawsscripts@xxxxxxxxxxxxx
>   42 mailto:jeet.invincible@xxxxxxxxx
>   43 http://www.freelists.org/list/jawsscripts
>   44 mailto:jeet.invincible@xxxxxxxxx
>   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
>   49 http://www.freelists.org/list/jawsscripts
>   50 http://www.freelists.org/list/jawsscripts
>   51 mailto:jeet.invincible@xxxxxxxxx
>   52 mailto:jawsscripts@xxxxxxxxxxxxx
>   53 mailto:jawsscripts@xxxxxxxxxxxxx
>   54 mailto:jeet.invincible@xxxxxxxxx
>   55 http://EmpowermentZone.com/wdsetup.exe
>   56 mailto:jeet.invincible@xxxxxxxxx
>   57 mailto:jawsscripts@xxxxxxxxxxxxx
>   58 mailto:jawsscripts@xxxxxxxxxxxxx
>   59 mailto:jeet.invincible@xxxxxxxxx
>   60 http://www.freelists.org/list/jawsscripts
>   61 mailto:jeet.invincible@xxxxxxxxx
>   62 http://www.freelists.org/list/jawsscripts
>   63 http://www.freelists.org/list/jawsscripts
>   64 http://www.freelists.org/list/jawsscripts
>   65 http://EmpowermentZone.com/wdsetup.exe
>   66 mailto:jeet.invincible@xxxxxxxxx
>   67 mailto:jawsscripts@xxxxxxxxxxxxx
>   68 mailto:jawsscripts@xxxxxxxxxxxxx
>   69 mailto:jeet.invincible@xxxxxxxxx
>   70 mailto:jeet.invincible@xxxxxxxxx
>   71 http://www.freelists.org/list/jawsscripts
>   72 http://www.freelists.org/list/jawsscripts
>   73 http://www.freelists.org/list/jawsscripts
>   74 http://www.freelists.org/list/jawsscripts
>   75 mailto:jeet.invincible@xxxxxxxxx
>   76 http://EmpowermentZone.com/wdsetup.exe
>   77 mailto:jeet.invincible@xxxxxxxxx
>   78 mailto:jawsscripts@xxxxxxxxxxxxx
>   79 mailto:jawsscripts@xxxxxxxxxxxxx
>   80 mailto:jeet.invincible@xxxxxxxxx
>   81 http://www.freelists.org/list/jawsscripts
>   82 mailto:jeet.invincible@xxxxxxxxx
>   83 http://www.freelists.org/list/jawsscripts
>   84 http://www.freelists.org/list/jawsscripts
>   85 http://www.freelists.org/list/jawsscripts
>   86 http://EmpowermentZone.com/wdsetup.exe
>   87 mailto:jeet.invincible@xxxxxxxxx
>   88 mailto:jawsscripts@xxxxxxxxxxxxx
>   89 mailto:jawsscripts@xxxxxxxxxxxxx
>   90 mailto:jeet.invincible@xxxxxxxxx
>   91 http://www.freelists.org/list/jawsscripts
>   92 mailto:jeet.invincible@xxxxxxxxx
>   93 http://www.freelists.org/list/jawsscripts
>   94 http://www.freelists.org/list/jawsscripts
>   95 http://www.freelists.org/list/jawsscripts
>   96 http://www.freelists.org/list/jawsscripts
>   97 http://www.freelists.org/list/jawsscripts
>   98 http://www.freelists.org/list/jawsscripts
>   99 http://www.freelists.org/list/jawsscripts
> __________
> View the list's information and change your settings at
> http://www.freelists.org/list/jawsscripts
>
>


-- 
Change the world--1 deed at a time
Jackie McBride
Check out my homepage at:
www.abletec.serverheaven.net
& please join my fight against breast cancer
<http://teamacs.acsevents.org/site/TR?px=1790196&pg=personal&fr_id=3489>
__________ 
View the list's information and change your settings at 
http://www.freelists.org/list/jawsscripts

Other related posts: