I have made a program that controls a 3rd party program with SendKeys
and mouse-clicks (mouse_event
).
It worked fine on the program until the company updated it, and made it require admin access (and prompt UAC when opening). Even after disabling UAC, my program cannot send any input when their program is focused.
I know that it is trying to send the clicks/keypresses, since if I open notepad instead of the program, it starts going.
I am wondering if there is any way that SendKeys
can work even with a program that requires admin access. I have tried running my program as an administrator, but with no luck.
Thank you.