X
X
xolnimda2014-12-11 01:49:01
Java
xolnimda, 2014-12-11 01:49:01

How to write a program to work with someone else's window?

I need to write a program that would work with the window of another program.
Or rather, I filled in certain fields in it and clicked on the buttons.
What to read?
What can be used to find out the identifiers of fields and buttons in programs?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
T
tugo, 2014-12-11
@tugo

https://www.autoitscript.com/site/
It seems to be what you want.

V
Vitaly Pukhov, 2014-12-11
@Neuroware

if you plan to fill it with sending events to UI elements as windows, which they actually are, then the standard VS Spy ++ utility will go, but this approach is only suitable for 1 specific program and development will be non-trivial.
You can get by with a clicker that will poke in the right places and copy-paste the desired text.
There is a utility that was created to fill in "registration data" according to the registry, most likely it will be easier to use here.

P
Pavel Elizariev, 2014-12-19
@effetto

I wrote a similar program in C# using wrappers for the system libraries from www.pinvoke.net/index.aspx, which I placed in static classes. The program was a bot for a 3d game client.

S
sanchas, 2014-12-19
@sanchas

Read about WinApi. As well as books from the series "Programming in / C ++, C #, Delphi / through the eyes of a hacker"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question