Show / Hide Table of Contents

Method wnd.getwnd.mainWindows


Overload

Gets main windows, ie those that probably are in the Windows taskbar.

public static wnd[] mainWindows(bool allDesktops = false)
Parameters
allDesktops  (bool)

On Windows 10 include windows on all virtual desktops. On Windows 8 include Windows Store apps if possible; read more: wnd.getwnd.allWindows.

Returns
wnd[]

Array containing zero or more wnd.

Remarks

Uses wnd.getwnd.isMainWindow. Does not match the order of buttons in the Windows taskbar.