A
A
Alexander Zharchenko2020-02-27 16:54:07
Windows
Alexander Zharchenko, 2020-02-27 16:54:07

How to get the handle of the "Details" button in a non-expanded task manager?

I can't find a way to find the handle to the "Details" button in a non-expanded task manager.

With the help of ControlGetHandle through AutoIT I can get the handle of any window element, but how to search for a button in this frame with the return of the handle of this button is a question. The tab search is reproduced via _GUICtrlTab_FindTab with the tab name, but of course this doesn't work with this thing.

5e57c9f3573b5448383707.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
#
#, 2020-02-28
@exxxcitation1

as already shown in the comments - this is not a window. in addition to what has already been listed, for example, Qt applications also do not use handles. namely Qt, I once had to automate from the outside.
options:
- by coordinates
- rob the current image and recognize the inscriptions, to make a further decision
ps I had to use both)). difficult, crooked, not all goals were achieved))
pps correction - for the simplest cases, actually simple, even very simple. but I had a very varied text in the same controls. there were obvious difficulties

A
Alexander Ananiev, 2020-02-28
@SaNNy32

As far as I remember, the task manager is a UWP application, the elements inside it are not win32 objects and, accordingly, do not have a handle. I can be wrong.
WinSpy++ has been seen to show that I'm right (or wrong).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question