Hi quantiworks,

> How about adding to the script the option to bring them up again?

FWIW, here you are:
-------------------
local l_han_keep = win.handle("active")
local l_han_list = win.handlelist("~" ++ l_han_keep ++ "," ++ 
win.owner(l_han_keep))
if(arg(1))do
   ;arg(1) = 1      ==> re-show all windows except active
   for each word l_han_item in l_han_list
       if   (win.minned(l_han_item) ;;+
        and win.visible(l_han_item) ;;+
        and not win.owner(l_han_item))do 
         win.showna(l_han_item)
       endif
   endfor
   win.setfocus(l_han_keep)
else
   ;arg(1) = 0 or ""  ==> minimize all windows except active
   for each word l_han_item in l_han_list
       if  (l_han_item != l_han_keep ;;+
        and not win.owner(l_han_item) ;;+
        and win.visible(l_han_item) == 1)do
            win.minimize(l_han_item)
       endif
  endfor
endif


Reply via email to