Jump to content
Sign in to follow this  

WinWait... support for dynamic window titles?

Recommended Posts

I want to use WinWait(...) for windows, which title names I don't know fully.

This works:


WinWaitActive("Untitled - Notepad")

This does not work unfortunately:


WinWaitActive("Untitled - Note*")

I need to wait for some windows which title names are somewhat dynamic. Only the beginning of the title name is fixed.

They are mIRC channel windows. The title names are something like "#chat-world [39] [+ntl 49]: Welcome! - !rules - Do Not Msg @'s or +'s - !rules - http://chat-world.we-rock.org"

As you can see I only know the beginning of the title: "#chat-world". The rest of it is not deterministic to me since it can change day by day.

So I would need something like this:


Is this already supported by AutoIt? If no, would you please add this feature?

Share this post

Link to post
Share on other sites

Opt('WinTitleMatchMode', 2)
Find a word(s) that is common in every title.
Great, it works! Thank you.

AutoIt seems to be very advanced.

Edited by logotron

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  

  • Create New...