Jump to content

WinWaitActive never comes back


noab
 Share

Recommended Posts

WinWaitActive("Notepad")

-> doesn't come back

(System German Windows 7)

has it to do with the language?

Probably. See the Helpfile here, http://www.autoitscript.com/autoit3/docs/functions/AutoItSetOption.htm#WinTitleMatchMode.

- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Link to comment
Share on other sites

(System German Windows 7)

has it to do with the language?

Yes. The first example looks for a window ofthe type notepad uses, while the second example looks for a window with a title starting with "notepad".

I know the title of notepad is localised, so I assume it's something like Notizblok in german. While the type of window is still correct, the title is different.

I try not to rely on win titles, but instead check anything I can be relatively sure of to be the same on different PC's.

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...