Y
Y
yamakasi_habr2022-04-01 16:21:24
C++ / C#
yamakasi_habr, 2022-04-01 16:21:24

How to click a button in the Windows interface?

After the bot presses the Select File button, you 6246fbb4c1f51267299671.png
need to track the window that appears and select an image to upload to the site. All this needs to be automated. Tell me by what means this can be done, through win api or how ??

Answer the question

In order to leave comments, you need to log in

2 answer(s)
H
HemulGM, 2022-04-01
@HemulGM

What for? And what about just executing a request by passing the path to the file, or how?

M
Maxim K, 2022-04-01
@mkvmaks

Win API - take the title, center it and click on the button by coordinates. Or try to find the title and the button using Spy++.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question