Forum Discussion
Marsha_R
Champion Level 3
10 years agoPost that section of the code please.
- efile10 years agoNew Contributor
Sure!
- Marsha_R10 years ago
Champion Level 3
It is possible for your main object to Exist without being Visible, so what you tried makes sense even though it's not doing what you intended.
You can try another property instead of Exists, possibly Enabled, to get the failure that you need.
You could also try nested If Objects and make one for the window exists and one for the button exists.
- efile10 years agoNew Contributor
I didn't think to try nested if objects on this one, I think that will do it thank you for your assistance.
Edit: it looks like that fixed it. I will have to dive further into seeing why it's being so finky.