___Kevin___ Posted February 6, 2006 Share Posted February 6, 2006 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. Link to comment Share on other sites More sharing options...
greenmachine Posted February 6, 2006 Share Posted February 6, 2006 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 title3 = Exact title match4 = Advanced mode, see Window Titles & Text (Advanced) Link to comment Share on other sites More sharing options...
___Kevin___ Posted February 6, 2006 Author Share Posted February 6, 2006 Perfect, thanks. I promise to use the helpfile next time. Thanks, Kevin. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now