Sorry I couldn't get the scenario. woutput() returns output window and wontop() on top one. woutput() might be invisible so check with wvisible() (and probably wexist()).
Cetin
>Either that or forms. Basically, I don't want this code to run unless the only thing on the screen is the toolbar and the screen itself.
>
>If that's not feasable, the alternative is to save the current active window and re-activate it when I'm done. Either way, I need to know what's active at the point my timer goes off.
>
>Thanks,
>
>Michelle
>
>>Windows ? You're talking about those created with define window ?
>>wlast(), wontop() ...
>>Cetin
>>