/** * Requests a list of all currently available Desktop windows. * * @param onlyVisibleWindows * Specifies whether only currently visible windows will be * considered ({@code true}). That are windows which are not * minimized. The {@code WS_VISIBLE} flag will be checked (see: * <a href= * "https://msdn.microsoft.com/de-de/library/windows/desktop/ms633530%28v=vs.85%29.aspx" * >User32.IsWindowVisible(HWND)</a>). * * @return A list with all windows and some detailed information. */ public static List<DesktopWindow> getAllWindows( final boolean onlyVisibleWindows) { return getInstance().getAllWindows(onlyVisibleWindows); }