ZeDMIN Posted June 3, 2016 Posted June 3, 2016 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
AutoBert Posted June 3, 2016 Posted June 3, 2016 No it's the modal msgbox in the .net application. Your script is frozen until this msgbox is closed. You can use same technique as mLipok uses in for a modal JS-msgbox.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now