Sign in to follow this  
Followers 0
FunkyBunnies

Finding last active window?

3 posts in this topic

Hi all,

I was hoping to make a gui that would send junk to the last active window - but of course once you press on the gui that's now the active window :P

so I was wondering if there was a way to find the last active window - or a function to list the current windows in order of recent activity so that I could exclude my own gui?

Share this post


Link to post
Share on other sites



First of all, Hi and welcome to the forum!

You could do something like WinGetHandle("[ACTIVE]") , or WinGetTitle("[ACTIVE]") BEFORE you shows your gui, that way you would have a handle/title to use later on. See the helpfile for examples etc.

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