Method elmFinder.FindAll
Overload
Finds all matching descendant UI elements in the window or UI element.
public elm[] FindAll()
Returns
elm[]
Array of 0 or more elements. |
Exceptions
ArgumentException
|
AuWndException
Invalid window handle (0 or closed). See also elmFinder.In. |
AuException
Failed. For example, window of a higher UAC integrity level process. |
Remarks
See elmFinder.Find.
Examples
var w = wnd.find(1, "", "Shell_TrayWnd");
print.it("---- buttons ----");
print.it(w.Elm["BUTTON"].FindAll());
print.it("---- all ----");
print.it(w.Elm.FindAll());
print.it("---- all buttons in elm at level 0 ----");
var e = w.Elm["TOOLBAR", "Running applications"].Find();
print.it(e.Elm["BUTTON", prop: "level=0"].FindAll());
print.it("---- all in elm ----");
print.it(e.Elm.FindAll());