slyfox Posted April 26, 2007 Share Posted April 26, 2007 For an example, in the situation of "Document1 - Microsoft Word" Am I able to say "* - Microsoft Word"...This did not work for me..I am guessing there is some way of doing this...How would I do this? I am using it in the situation: CODEWinWait("* - Microsoft Word","") If Not WinActive("* - Microsoft Word","") Then WinActivate("* - Microsoft Word","") WinWaitActive("* - Microsoft Word","") In other words..How do I wild card? Link to comment Share on other sites More sharing options...
Zedna Posted April 26, 2007 Share Posted April 26, 2007 Opt("WinTitleMatchMode", 2) ;1=start, 2=subStr, 3=exact, 4=... WinWait(" - Microsoft Word","") Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
jvanegmond Posted April 27, 2007 Share Posted April 27, 2007 Where did you found that wild cards can be used in the window title or handle parameter? github.com/jvanegmond Link to comment Share on other sites More sharing options...
slyfox Posted April 27, 2007 Author Share Posted April 27, 2007 I guessed...Given that not all window titles should not be hard coded... 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