Jarrett Member since 2017 17 posts
Navy Federal Credit Union
Posted: March 20, 2019
Last activity: March 29, 2019

Temporarily block user input

We have a long-running, attended process in a desktop application. It requires focusing fields and sending key strokes. If the user clicks or types anywhere on the screen, it can disrupt the automation. Even though people have been instructed not to do other work while the automation is running, we still find some people are trying to multitask.

Is there a recommended way to temporarily block user keyboard and mouse input while an automation is running? I found multiple code samples to accomplish this elsewhere and could add it in a script, but I suspect some of these methods would prevent automation from working. I only want to block the users input, not the automation input.

***Edited by Moderator Marissa to update SR Details***

Robotic Process Automation SR Exists
Moderation Team has archived post
Share this page LinkedIn