Returns the window corresponding to the specified window number.
- macOS 10.0+
The unique window number associated with the desired
The desired window object or
nil if the window could not be found.
window(with may return
nil for window numbers found using
window if there is no corresponding window object owned by your app—for example, the menu bar.