Instead of configuring a timeout for the whole script execution time, thus, trying to guess how much time a user is going to spend on an interactive automation script, is there a way of making the timeout linked to the last user interaction, in an "away from keyboard" or "sleep mode" type of way.
Hi Guilherme,
To control the timeout time of a script you can use one of 2 methods:
- Timeout property, which will allow you to define how long you can run the script (by default it should be 10 minutes)
- KeepAlive method, which will work almost as a reset towards the timeout timer.
So for your use case, I think you can use a combination of the 2 and basically define a default timeout long enough for any basic user interaction and then call the KeepAlive every time the user performs an action.
That’s it! I want the KeepAlive