Sign in to follow this  
Followers 0
___Kevin___

Wait for new window with only partially known title

3 posts in this topic

Hi,

I'm trying to work with the Trillian Messenger windows. These windows have changing titles, depending on the person contacting me. Is there a way to do something like WinWait("*ICQ") with * as placeholder for anything? Another idea is to simply wait for any window (like WinWait(""), but title is not optional) and I'll do the title check myself.

Thanks,

Kevin.

Share this post


Link to post
Share on other sites



Use Opt ("WinTitleMatchMode", 2)

From the helpfile:

Options:

WinTitleMatchMode - Alters the method that is used to match window titles during search operations.

1 = Match the title from the start (default)

2 = Match any substring in the title

3 = Exact title match

4 = Advanced mode, see Window Titles & Text (Advanced)

Share this post


Link to post
Share on other sites

Perfect, thanks. I promise to use the helpfile next time.

Thanks,

Kevin.

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