Jump to content

ControlFocus hanging when error pupup occurs


Recommended Posts

Hi,

i have the following problem: I want to make some automated inputs into an application (probably .NET). This works just fine, but sometimes (not always) it can be that when i input something and change focus to another field afterwards, the application shows an error popup related to the input. I would like to click "proceed" on this error popup, but it seems like the ControlFocus function is hanging while the popup is shown. I tried putting MsgBox before and after the ControlFocus call and could see, that the second MsgBox is only shown after i manually close the error popup.

Is this a bug in ControlFocus? Or can i somehow interrupt the ControlFocus method, if the error popup appears?

Autoit is version 3.3.14.2.

 

With best regards,

Julius

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