Sign in to follow this  
Followers 0
yellowpower

Identify and activate a window

3 posts in this topic

Hi all,

When I have multiple windows, e.g. MSN chats, and all of them minimise. When a new msg is received, it flashes but not activated. Is there a way to identify the right window, restoring its size and activate it?

thanks in advance.

Share this post


Link to post
Share on other sites



You could try wingetstate in some sort of loop, it might be that it appears to be active and then inactive while it flashes according to the documentation of _WinAPI_FlashWindowEx().

Whether the same is true of your window, only you can discover.

Worth a try.


AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Share this post


Link to post
Share on other sites

Or, if the above solution fails, monitor the text in the window for changes and activate it when it does.

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