ENUMERATE TRAYMINNED WINDOWS
Author SGP
Message No.

http://groups.yahoo.com/group/power-pro/message/14735

File Name Enum_Traymin.powerpro
Requirements Win Plugin
Purpose: The following script should enumerate all the windows that sit in the Windows icon tray. The windows must have been trayminned using PowerPro, otherwise they won't be detected.
Warning: this script has been known to miss some trayminned windows on some PCs.

; win plugin used.

; try also using list = win.handlelist("*",1)
list = window("anywindow","*")

for (j=1;;j=j+1)
    handle = word(list,j)
    if (not handle)
        break
    if( win.trayminned(handle) )
        win.debug("MINNED!", handle, win.caption(handle))
endfor