--- In [email protected], "ncb41727" <[EMAIL PROTECTED]> wrote:
> Thanks.
> Nice solution.
> Essentially you suggest I do a *TrayIcon Dump and subsequently test
> whether the caption of the trayicon of the modem is present in
> trayicons.txt, right? I'm sure it would work (cannot test right now),
> but are you indicating that it cannot be tested "directly" like
> regular captions?
> Niels
Yes if this window, connected with the trayicon, is newly created one
when the trayicon appears (:trayicon is not a window itself). However,
I'm kinda skeptical about it. Anyway, you can check all the current
windows, including child windows, executing the script:
local plist=win.handlelist("*",1)
local pnum=word(plist,0)
for(local i=1;i<=pnum;i=i+1)
local phan=word(plist,i)
win.debug(i++"-"++win.exename(phan),win.class(phan)++"::"++win.caption(phan))
local clist=win.childhandlelist(phan)
local cnum=word(clist,0)
for(local j=1;j<=cnum;j=j+1)
local chan=word(clist,j)
win.debug(i++"-"++j,win.class(chan)++"::"++win.caption(chan))
endfor
endfor
quit
Sean
------------------------ Yahoo! Groups Sponsor --------------------~-->
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/JV_rlB/TM
--------------------------------------------------------------------~->
Attention: PowerPro's Web site has moved: http://www.ppro.org
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/