N
N
Nemo1112018-11-08 17:15:46
Python
Nemo111, 2018-11-08 17:15:46

Is it possible to get information about all clickable areas on the active application window in Windows?

Here is the Windows desktop. It opened the application window. It's activated. Is it possible to find out information about all clickable areas on this application, their names or coordinates? If you press the "Tab" key, it bypasses such areas, activating them one by one.
I would be grateful for an indication of the required library, preferably in Python, if at all possible.
ps you need to find out by means of Windows, not an open application

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Konstantin Tsvetkov, 2018-11-08
@tsklab

about all areas available for pressing ... press the "Tab" key, it bypasses such areas
Some controls do not receive focus at all. Some Control.TabStop Property may be disabled.
It is possible to get a list of controls, even a nested one. You can probably find out if the control has mouse click processing, but it can be turned off.
Therefore, I think it is possible to make a "head-on" solution, that is, put a hook on event handling and emulate clicking all points on the application window with the mouse.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question