timing issue with ControlGetState and ElementGetState?
Posted: Wed Dec 05, 2007 10:55 pm
I am noticing something I just can not explain yet.
When I run my script that checks the state of a control, I am getting for that state a number like '1048577'.
This happens if I use the control or the element.
However, if I step through the code in my IDE (WingIDE) then it correctly returns the state of 1 (unavailable).
I have manually introduced sleep time but that does not seem to do the trick.
When I run my script that checks the state of a control, I am getting for that state a number like '1048577'.
This happens if I use the control or the element.
However, if I step through the code in my IDE (WingIDE) then it correctly returns the state of 1 (unavailable).
I have manually introduced sleep time but that does not seem to do the trick.