how to get OS resolution?

Set window-type to ‘none’ to avoid automatically opening a window, and manually call base.makeDefaultPipe() to open the graphics pipe, after which you can query the resolution. Then you can just open the window using base.openDefaultWindow(size=(123, 456)).

1 Like