SendKeys alternative that does NOT require an unlocked session

Situation:

The GUI application contains functionality (outside the menu option) that creates a frequently updated image in a directory.

The recorded, running instance of the application is the only source for this image (the "reliant" functionality on the display device). I investigated it to death - it is a sad fact.

The GUI application offers COM interfaces, but none of them generate an image.

The GUI code cannot be changed at least (big surprise).

Demand:

These current images are needed by other processes at different times.

The obvious solution:

The process that instantiates the GUI application and uses SendKeys to control the controls to create the image.

( )

Sendkeys - , Sendkeys WAS ....

Sendkeys , ( - )

API SendMessage , "shift/letter" ( ).

, ?

Windows / - , .

, , . ;)

+3
1

.

, .


: , . ? , ; ?

+1

Source: https://habr.com/ru/post/1725290/


All Articles