Dynamic Timeout for UiAutomation Activities

You don’t need it to be dynamic. Just set the timeout to more than the maximum amount of time it will ever take. The activity executes as soon as it can, it doesn’t wait the whole timeout every time.