Forum Discussion
JackSparrow
9 years agoFrequent Contributor
thanks for the code but , i want to implement without delay method .
baxatob
9 years agoCommunity Hero
You can't avoid a delay, if you need to wait for something.
tristaanogre has advised a nice and flexible method.
def wait_for_something_exists(something, timeout):
counter = 0
while not something.Exists and c < timeout:
aqUtils.Delay(1000) # or time.sleep(1)
counter += 1
- JackSparrow9 years agoFrequent Contributor
Thanks baxatob tristaanogre will try and come back