Invoke button in a game / external program C#

87 views Asked by At

Is it possible to invoke a click on a specific button in a game / external program without having the mouse over the button?

I have tried searching but found nothing on this topic.

1

There are 1 answers

1
Pranit Kothari On

You can send message to your program from outside of application.

For example, if you are using Win32 application as external application, then you can use FindWindow, SendMessage api to send message and click the button.

Please be specific on language so will get exact answers.