Skip to main content

Set screen resolution

Change the main screen's resolution for this Windows session (not saved), for agents that need a fixed screen size; put back when the run ends unless turned off.

Command in the System toolkit · id ooa.system/set_screen_resolution · 5 inputs (3 required), no outputs

Inputs​

InputTypeRequiredDefaultWhat it is
WidthNumberYesWidth in pixels.
HeightNumberYesHeight in pixels.
ConfirmBooleanYesMust be true to change the screen.
Refresh hzNumberNoRefresh rate, e.g. 60; the screen's choice when empty.
Restore at endBooleanNotruePut the saved resolution back when the run ends (also when it fails).