Re: IS there any examples about title-match-mode-4 on "regexp=REGEXP"
p0etb0x <[email protected]>
| Newsgroups | gmane.comp.windows.autoit.user |
|---|---|
| Message-ID | <[email protected]> |
--- In [email protected], "valery_vi" <shehrer1@...> wrote: > > > Opt("WinTitleMatchMode", 4) > > if WinExists('regexp=S(.*?)', '') then > Msgbox(0,'', 'win exists') > else > Msgbox(0,'', 'is not') > endif > > --- In [email protected], p0etb0x <no_reply@> wrote: > > > > thank you. > > > I tried to close the Auto3's help file("AutoIt.chm"),it's title is "AutoIt Help". I tried: ;WinClose('regexp=AutoIt(.*?)');failure ;WinClose('regexp=^AutoIt(.*?)');failure ;WinClose('regexp=Au[a-Z ]{1,20}');failure ;WinClose('regexp=[a-Z ]{1,30}');failure ... ... From all my trying,I success only once:; WinClose('regexp=(.*?)Help');ok