Hi.
--- In [EMAIL PROTECTED], "swzoh" <[EMAIL PROTECTED]> wrote:
> I see. The index 4 is a "ComboBox" in IE.
> They seem actually the (drop-down) address box in IE.

Yes. The win-plugin shows both indices (3/4 or 8/9) identically with 
the top item of the dropdown as the text while the MiscPlugin shows 
only index 4(9) as the top URL while index 3(8) has he rest of the 
dropdown as text. A double combo-box, sort of. Don't know what this 
means...

BTW, as Bruce complained recently that we are not sharing enough 
scripts, here is a little function which uses win- or MiscPlugin to 
list childwindow infos, can be useful for stuff like this:

;;; script .childInfos.powerpro, take care of the line-breaks!
;;; needs a new PPro-version like 3.8.20 or so
local ctext, cHandle, cClass
for (local i = 1; ; i = i + 1)
 if (arg(2) == "win") do
  cText = win.childTextByIndex(arg(1), i)
  if (_EOF_)
   break
 elseif (arg(2) == "misc")
  cText = MiscPlugin.Get_WindowText(arg(1), i, "win=all")
  if (cText == "ERROR_CHILD_NOT_FOUND")
   break
 endif
 cHandle = win.handle(arg(1), cText)
 cClass = win.class(cHandle)
 win.debug(?$text="$ ++ cText ++ ?$"$, " | index=" ++ i, " | handle=" 
++ cHandle, " | class=" ++ cClass, " | vis=" ++ visiblewindow
(cHandle))
endfor
quit

can be called with:
.childInfos(handle, "win") for win-plugin
or
.childInfos(handle, "misc") for MiscPlugin
e.g. with right click on a window-caption:
.childInfos(win.handle("under"), "win")

> Do you also think that this change of the index is the reason
> for BrowserURL not to work in Maxthon?

Possible. Don't know if Bruce also uses a function like this but it 
seems so.

Mockey




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/JV_rlB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to