My client has an ERP which has a very stupid feature, that is when ever the user is inactive for 10-15 sec it logs-out the user. And the user then has to enter the username & password again & again and it is a real headache. I have to propose a solution for this.
My idea was attach a finger print scanner and write a small service. When ever the user swipes the finger, the service, which already has a user name & password against that finger-print, it inputs the required credentials in the username & password fields and submits it.
Now idea is plain & simple. But implementation is not. The real deal is geting a focus on username & password fields(i.e text boxes).
if it would have been a web-app i would have use some browser automation library to find the required element(by id etc), but it is a desktop app and so far I don't even if it is written in native code or interpreted.
I want to know is there way by which we can write a C# code to get focus on textbox of an app and insert text in it(insert text is easy just simulate a 'paste' or a key strokes).
Or is there another possible approach on this.