Forum Discussion
tristaanogre
14 years agoEsteemed Contributor
Again, it has to do with a window being "in the way".
Say the scripts say Click on Button A on Form 1 then Enter Data in text field on Form 2 using the Keys method. That is all that's in the code, no other forms or buttons or anything is referenced. However, if after the scripts click on Button A, instead of Form 2 displaying, an error form (Form 3) is displayed. If that form is modal or set to be "always on top" AND if that form actually gets in the way of the data field on Form 2, then Form 3 is classified as an "unexpected window" and triggers the event.
Clear as mud?
Say the scripts say Click on Button A on Form 1 then Enter Data in text field on Form 2 using the Keys method. That is all that's in the code, no other forms or buttons or anything is referenced. However, if after the scripts click on Button A, instead of Form 2 displaying, an error form (Form 3) is displayed. If that form is modal or set to be "always on top" AND if that form actually gets in the way of the data field on Form 2, then Form 3 is classified as an "unexpected window" and triggers the event.
Clear as mud?
Related Content
Recent Discussions
- 18 hours ago