Sign in to follow this  
Followers 0
Guest kke

window level store & restore

2 posts in this topic

#1 ·  Posted (edited)

Any tips how i can get the order of windows? What I mean is the display level of the windows, like window 1 is displayed over window 2 which is displayed over window 5 and window 4 is on top.

I need to create a script that can memorize the level of every window on display and with a keypress restores everything in the same order (which is no problem with WinActivate). A lot of overlapping windows that need to be activated in certain order to keep some parts of every window visible (and when you click one of them, many windows under it are now hidden behind that one and can't be activated without finding them using alt-tab or taskbar)

Edited by kke

Share this post


Link to post
Share on other sites



Welcome to the forums!

You could use a loop to note the active window, hide/minimise it and then repeat for each window until only the desktop shows. I believe that this would give you the information you need.

If your intention isn't to hide/minimise the windows however then you may find this method less than perfect as you would have to hide/minimise all windows and then restore them, which would give noticeable on-screen flicker...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0