Emergency Stop Button, Terminate Robot

Question:
Is there a way to stop and terminate current running robot that is controlling the keyboard and mouse?

Description:
What if the robot code that control keyboard typing and mouse clicking is doing something unexpected, or in a infinite loop. While it is typing and clicking around so fast that I’m losing control of it, I do like to have an emergency stop button to terminate the running code.

Perhaps there may be a way to bind or listen a key combo, and it terminate whenever the keys are pressed. Or there is other way to do it, please advice. Thanks.

Hi,
I think the Robocorp Assistant (=attended cases) would the be the best solution for these kinds of runs.
There we have both the “Terminate” -button and a hotkey for it just for this reason.

If you are running with just RCC the process just has to be canceled with CTRL+C