No wildcards in window titles.
You have 4 options.
Opt("WinTitleMatchMode", 1) ;1=start, 2=subStr, 3=exact, 4=advanced
1 is default. Title is from the start of title. So a title with
MSFN Forums -> Replying in Wildcards in window names
can be entered as
MSFN Forums
2 is substrings. So with the existing title as above, You can just do this:
Replying in Wildcards
3 is exact. Exact full title.
4 is advanced. This mode can allow you to use class names instead. You will see class listed in AutoIt Info Tool. This allows you to respond to a window, without knowing it's name.
classname=CLASSNAME
There are also functions available to get window titles, if you only know part of the name etc. Like
WinGetTitle ( "title" [, "text"] )
Many different ways to solve a problem.