Class wndFinder
Finds top-level windows (wnd). Contains name and other parameters of windows to find.
public class wndFinder
Remarks
Can be used instead of wnd.find or wnd.findAll. These codes are equivalent:
wnd w = wnd.find(a, b, c, d, e); if(!w.Is0) print.it(w);
var p = new wndFinder(a, b, c, d, e); if(p.Exists()) print.it(p.Result);
Also can find in a list of windows.
Namespace: Au
Assembly: Au.dll
Constructors
| Name | Description |
|---|---|
| wndFinder(string, string, WOwner, WFlags, Func<wnd, bool>, WContains) |
Properties
| Name | Description |
|---|---|
| Props | Parsed parameter values. All read-only. |
| Result | The found window. |
Methods
| Name | Description |
|---|---|
| Exists() | Finds the specified window, like wnd.find. |
| Exists(Seconds) | Finds the specified window, like wnd.find. Can wait and throw NotFoundException. |
| Find() | Finds the specified window, like wnd.find. |
| Find(Seconds) | Finds the specified window, like wnd.find. Can wait and throw NotFoundException. |
| FindAll() | Finds all matching windows, like wnd.findAll. |
| FindAllInList(IEnumerable<wnd>) | Finds all matching windows in a list of windows. |
| FindInList(IEnumerable<wnd>) | Finds the specified window in a list of windows, and sets wndFinder.Result. |
| IsMatch(wnd, WFCache) | Returns |
| ToString() | Returns a string that represents the current object. |
| Wait(Seconds, bool) | Waits until window exists or is active. |