Hi Bruce,

I think between version 1.0.4.9 and 1.5.0.0 (it should be 1.0.5.0, or 
was this intended?) win.handlelist has become broken. I've pinned it 
down to the following excerpt, it gives me totally different results 
with both versions.

-------
@MenuShowAllWindows
    Local _bar_name = "menu_misc_List_Windows"
    Local _winlist = win.handlelist("~=powerpro,LiteStep,MCI*,Power 
Meter,DDE *", 2)
    ; the actual list is much longer

    Local _hwin, _caption, i

    For(i=0; ;i++)
        _hwin = word(_winlist,i+1)
        If(_hwin eq "")
            Break

        _caption = Window("caption", _hwin)
        win.debug(_hwin, _caption)
    EndFor

    Quit
-------

I'm using this (originally bigger) script to recover hidden windows from 
hidden vdesks, if PP exits unexpectedly, skipping many unneeded hidden 
windows.

I think the 2nd parameter (the "2") doesn't work anymore, and delivers 
multiple handles for the same window. It worked fine with 1.0.4.9. Can 
you check this out? I've tested it with PP 4.5.0.4 & 5 and empty.pcf.

TIA,
Cüneyt


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/
 



Reply via email to