Skip to main content

Get screen resolution

Return the resolution and display scaling of the main screen, and of every screen.

Command in the System toolkit · id ooa.system/get_screen_resolution · no inputs, 4 outputs

Outputs​

OutputTypeWhat it is
widthNumberMain screen width in pixels, e.g. 1920.
heightNumberMain screen height in pixels, e.g. 1080.
scale_percentNumberMain screen's display scaling, e.g. 125.
screensListEvery screen: width, height, scale_percent, refresh_hz, primary.