Answer the question
In order to leave comments, you need to log in
How to write a program to interact with another?
I need to write a program that would interact with another program. Namely, I searched for the elements I needed in it, clicked on the input fields and entered data, in other words, some kind of bot for Windows.
The program with which you need to interact is an android emulator, I think bluestacks should be taken as the basis, although it doesn’t matter.
I see people write bots in C#. What can you get away from? Share infoy, articles - anything. I will be grateful.
Answer the question
In order to leave comments, you need to log in
From Winapi you will need one function - SendMessage. Find the rest on MSDN.
Also keep in mind that there are a bunch of ready-made automatizers, like autoit.
AutoIt
AutoIt v3 is a freeware BASIC-like scripting language designed for automating the Windows GUI and general scripting. It uses a combination of simulated keystrokes, mouse movement and window/control manipulation in order to automate tasks in a way not possible or reliable with other languages (eg VBScript and SendKeys). AutoIt is also very small, self-contained and will run on all versions of Windows out-of-the-box with no annoying “runtimes” required!
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question