MichaelP
14 years agoContributor
WaitAliasChild WaitTime versus WaitWindow WaitTime
I'm curious as to why
when WaitWindow Timeout = -1, the wait time is Infinite but
when WaitAliasChild WaitTime = -1, the waiting time is that specified by the Auto-WaitTimeout project setting.
In a specific context in one of my scripts, I have to use WaitAliasChild instead of WaitWindow, but it would be better to wait indefinitely as I can't predict how long to wait. It's not really a problem as I just specify something ridiculous like 1000000, but it would make more sense if -1 = Infinite like it does with the WaitWindow method.
Why does the behaviour of the WaitWindow and WaitAliasChild need to be different?
Thanks
Michael
when WaitWindow Timeout = -1, the wait time is Infinite but
when WaitAliasChild WaitTime = -1, the waiting time is that specified by the Auto-WaitTimeout project setting.
In a specific context in one of my scripts, I have to use WaitAliasChild instead of WaitWindow, but it would be better to wait indefinitely as I can't predict how long to wait. It's not really a problem as I just specify something ridiculous like 1000000, but it would make more sense if -1 = Infinite like it does with the WaitWindow method.
Why does the behaviour of the WaitWindow and WaitAliasChild need to be different?
Thanks
Michael