Forum Discussion
ashutosh01
Contributor
I am looking to put dynamic wait in multiple places until an object is let's say visible or enabled to perform actions.
Suppose wait time is 10sec but if object loaded in 3sec then it will move on not wait further 7 sec
and I want to have a custom function where I just pass the object and time, then call this function from wherever i needed for whichever object.
tristaanogre
2 years agoEsteemed Contributor
Almost all the built in Wait functions that rraghvani linked to already do that. WaitAliasChild, WaitChild, WaitProcess, etc, all operate as a "timeout" where you set a value (10 seconds in your example) but it only waits as long as necessary.
I'd start looking there, rather than building an extra custom function.
Related Content
Recent Discussions
- 2 days ago
- 2 days ago
- 5 days ago