Jump to content

Window with no name..


Guest wembley
 Share

Recommended Posts

Guest wembley

Okay, I'm attempting to automate a setup.exe - but up pops a window with no name. It has visible text - but WinExists and WinActivate are picking up any old random window that appears to exist -

I've stopped that now by changing to WinTitleMatchMode 2 - but I can't get WinExists or WinActivate to detect the unnamed window.

Any idea's?

Thanks,

Dave

Link to comment
Share on other sites

Guest wembley

Unfortunately that, depending on whether WinTitleMatchMode is 1 or 2, either a) matches _any_ window or :idiot: matches no window.

Dave

Link to comment
Share on other sites

Guest wembley

Doh! Fixed it - didn't realise that the WinTitleMatchMode was specific to the titles - thought it'd affect the text searchas well. Being stupid - thanks for the help.

Cheers

Dave

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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