Automating workstation UI resets with macro hotkeys dropping inputs during local worker sessions

Hey everyone, I have been trying to set up a quick automated routine on a few of our local rendering workstations to handle recurring UI prompts and modal dialogs that occasionally hang our background jobs. To streamline this without writing a full custom listener plugin from scratch, I put together a lightweight key-mapping script after checking the documentation on their site to send simulated keypresses whenever a specific application window regains focus. The main problem is that whenever the worker process hits high CPU utilization during asset decompression, the simulated keystroke timing drifts significantly and several inputs get dropped entirely. Additionally, on dual-monitor setups where modifier keys are active, the simulated hotkeys occasionally