Get all UI elements in NotePad.exe

from the past forum question and answer, I managed to get all UI elements of a tab in a web browser.

If the application is notepad.exe
how do I get all UI elements in notepad.exe ?

please provide the xaml demo as I am not sure exactly what to set in find children activity filter field and what value to set in target (selector or UI element) field ? (If I am not wrong the scope should be FIND_DESCENDANTS, right ?)

It would be much appreciated if there can be some short explanation of how to set filter field to select different groups of UI elements of interest (for example, can I select all UI elements with text label ? and how to select UI elements of control buttons ?

Many thanks.

somehow by chance I resolve it, 2 steps,

    on find children activities twice
1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.