KeystrokeAPI icon indicating copy to clipboard operation
KeystrokeAPI copied to clipboard

Not able to record keystrokes in Modal

Open abhaydhar opened this issue 6 years ago • 4 comments

There is a issue in this library in capturing keystrokes like entering the username and password in a Windows Modal/Popup Box of User Account Control.

Any workarounds for that ?

abhaydhar avatar Sep 24 '18 15:09 abhaydhar

@abhaydhar I didn't know that. A protection of these windows forms controls maybe? :thinking:

Maybe it is just a not handled case in my code. It relies on a low level hook inside windows API (User32.dll) that calls this method when some key is pressed. So you can debug this method to see if it is hit when users are inside the controls you mentioned. If it didnt get hit probably it is a protection around the windows api and you will have to find another way to cheat it :/

I would be glad if you could help to debug it because I'm no longer using windows as my operating system. It is something pretty fast to test...

fabriciorissetto avatar Sep 24 '18 21:09 fabriciorissetto

4 years ago. Will have to go look again in my projects if I am able to replicate this. Will update here in a few days

abhay-bw avatar Nov 28 '22 12:11 abhay-bw