jeremyt
11 years agoContributor
WaitNNN methods work the first time but fail the second?
I have tried using a couple of the WaitNNN methods (WaitChild, WaitAliasChild and WaitProperty) but in all cases it works the first time and fails the second. The object I'm waiting for is an HTML popup dialog, the first time it waits, eventually finds the object and the rest of my function finishes without issue. However when I call that same function again, this time when it gets to the WaitNNN method it waits and waits until finally I get an "Unable to obtain the item's rectange." error. Oddly enough if I simply use a Delay the second time around, it will work without issue. It makes no sense to me, any help would be greatly appreciated!