--- In [email protected], "brucexs" <[EMAIL PROTECTED]> wrote: > > > > > But I do not receive only the child windows but also the child of > the > > child..... > > handle = win.gethandle("active") > vwins = vec.createfromwords(win.childhandlelist(handle, "...")) > for (local i; i<vwins.length; i++) > if (win.getparent(vwins[i]==handle) do > // process direct child of active window > endif > endfor
This is Already the code i use (or almost the same) I was just hopping for an hidden feature like win.childhandlelist(handle, "...", WithRecursionFlag) > I don't understand this. Maybe calling childwindowlist with handle > might help. Or a loop like the above to isolate the windows you > want. If i call myChildHandle.childhandlelist i always got empty string ! even if in the preceding loop i got myChildHandle as parent... > > > >> I've also noticed that win.gettext does not get text from all > > controls.... Does it exist a way to get also list, menu,... info > with > > an up to date plugin or at least one with public sourcecode..... > > > > miscplugin can handle some more control types. But not all of > them. Its relatively easy if there is a built-in Windows message > to get the text across a process boundary (ie from another program), > which I think only exist for basic controls like edit, combobox, > listbox; these are the ones implemented by miscplugin, I believe. > For others, you'd have to find a way to run code in the target > process space to access strings stored there, and you may have to > also do some reverse engineering of control. It may not even be > possible for owner draw text. > The only trouble i have with miscplugin is that it do not seem to be well maintained and source code is not available (no way to have more!
