Hi Sheri, That's nearly what I wanted to do previously, only I wanted to minimize the windows (well, ones that were inactive for a certain period originally)..
I modified the script to minimize the windows rather than close them (all but the currently active window), but have a little problem. I use ThumbWin to minimize windows to the desktop of late, and that works great for me. This script though, currently traps those thumbWin'd images too, and minimizes them to a tiny transparent rectangle at the bottom of the screen... What I need to do it just have it get a handle list of visible windows (presuming thumbwin is not returning them as open still). Do you know how? Don't know where to get the help for win.handlelist... I tried 'visiblewindow' instead of '*' but didn't work.. Thanks Deen 24/03/2008 11:05:57 --- In [email protected], "Sheri" <[EMAIL PROTECTED]> wrote: > > maybe what you're asking is how to identify which window is active? > > local stayopen=win.handle("active") > > or has focus > > local stayopen=win.getfocus() >
