Forum Discussion
d4h8a1
14 years agoNew Contributor
Currently I'm doing this:
BtnRetreiveClose = Aliases["EsiMain"]["wndWindowsForms10Window8app033c0d9d5"]["WindowsForms10Window8app033c0d9d"]["WindowsForms10Window8app033c0d9d"]["btnClose"];
if (BtnRetreiveClose.VisibleOnScreen()) {
}
That crashes. However, when the code looks like this:
if (Aliases["EsiMain"]["wndWindowsForms10Window8app033c0d9d5"]["WindowsForms10Window8app033c0d9d"]["WindowsForms10Window8app033c0d9d"]["btnClose"]["Exists"]) {}
Everything works great. What is the difference between the two methods and why would it work any different?
Related Content
- 3 years agodhundley
- 7 months agopaarmann-ara
- 10 months agoaafreen_jamadar