Win32API mouse vs real mouse

I recently started using win32api to simulate mouse events and wondered if this was even detected at all?

For example, does the api execute the same process / run the same commands as when using a real mouse, or are there some minor differences that can be detected? Also, is this the same case with win32com SendKeys (via Shell Script / Python)?

I ask because I have had several applications in the past that detect the Java robots library, but they all work fine when using Python win32api. Thank.

+3


source to share


1 answer


The function SendInput

inserts input events into the same queue as the hardware device, but the events are marked with a symbol LLMHF_INJECTED

that can be detected by interceptors. To avoid this flag, you will probably have to write your own driver.



0


source







All Articles