Jump to content

Recommended Posts

Posted (edited)

I can't match a window with this title:

HwndWrapper[FastBoot.exe;;d9393b52-8924-4387-b35d-41f4cb70645b]

WinExists("[REGEXPTITLE:HwndWrapper.*]")

does not match it.

I assume it has something to do with the semicolons and/or brackets in the title.

Is there any way to do this?

 

Edited by lee321987
  • 4 weeks later...
Posted (edited)

For me it works with AutoIt 3.3.14.5. Which version of AutoIt are you using?

GUICreate('HwndWrapper[FastBoot.exe;;d9393b52-8924-4387-b35d-41f4cb70645b]')
ConsoleWrite(WinExists("[REGEXPTITLE:HwndWrapper.*]") & @CRLF) ; = 1
On 3/18/2020 at 9:53 PM, lee321987 said:

I assume it has something to do with the semicolons and/or brackets in the title.

That would only be the case if you used a meta character as part of the search - e.g. WinExists ("[REGEXPTITLE: HwndWrapper[FastBoot.exe. *]").

You can mask the meta characters with \ ...

WinExists("[REGEXPTITLE:HwndWrapper\[FastBoot.exe.*]")

Edited by Bitnugger

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...