Skip to content

Change the screen resolution with a hotkey.

Press Ctrl+Alt+Win+F1 and your main monitor switches to 1280 x 720. Ctrl+Alt+Win+F2 puts it back to 1920 x 1080. No trip to Settings > Display.

Display Settings is in Pro and the free 14-day trial. No script to write.

Ctrl+Alt+Win+F1 switches to 1280 x 720. Ctrl+Alt+Win+F2 switches back.

Each hotkey runs Display Settings on your main monitor. It makes the same change as Settings > Display, without opening it.

If the monitor doesn't have that resolution, a notification lists the ones it has.

The macro Change the screen resolution with hotkeys running in MacroWin: a monitor shows a desktop at 1920 x 1080. Ctrl+Alt+Win+F1 is pressed and Display Settings sets the main monitor to 1280 x 720, and the desktop's icons and text grow. Ctrl+Alt+Win+F2 sets it back to 1920 x 1080.

Set it up.

Install in MacroWin

Needs Pro or the free 14-day trial. It arrives switched off.

Or in MacroWin: Ctrl+N, then pick the Change the screen resolution with hotkeys template.

MacroWin didn't open

MacroWin doesn't seem to be installed on this PC. Download it and install it, then click Install in MacroWin again.

Already have it? Update it to the latest version, or open the Macro Hub in MacroWin and search there.

Download MacroWin

Or build it yourself

  1. New macro, trigger Hotkey.
  2. Press Ctrl+Alt+Win+F1 in the Hotkey field.
  3. Add Display Settings with Width 1280 and Height 720.
  4. On Failed, add Show Notification with Error as its Message.
  5. Same again for Ctrl+Alt+Win+F2, with 1920 and 1080.
  6. Ctrl+S, then switch Enabled on.

Your sizes, the refresh rate, and what it needs.

One step does it all. Display Settings changes a monitor's resolution, refresh rate, orientation or HDR, or makes it the main display, as Settings > Display does.

Variations

Your own sizes
Change Width and Height in each Display Settings step, such as 2560 x 1440 and 1920 x 1080.
A third key
Add another Hotkey and Display Settings, such as Ctrl+Alt+Win+F3 for 1600 x 900.
Refresh rate
Set Setting to Refresh rate and type the rate, such as 60 Hz on one key and 144 Hz on the other.
Another monitor
Monitor 1 is the main display, then the others from left to right. Set Monitor to the one you want to change.
Portrait and landscape
Set Setting to Orientation, with Portrait on one key and Landscape on the other.
HDR on a key
Set Setting to HDR and pick On or off, and one key turns HDR on and off.
Main display
Set Setting to Make it the main display, and the monitor in Monitor becomes the main display.
For one game
Use the App Event trigger with your game's .exe: on Starts, Display Settings sets the game's resolution; on Closes, another sets yours back.
Only while a macro runs
Turn on Put it back when the macro ends, and the old setting comes back as soon as the macro finishes.
A picture, not the screen
To change a picture's resolution, see resize pictures.

Limits

Only the monitor's modes
Display Settings can set only a resolution or refresh rate the monitor has. If it doesn't have it, nothing changes and the notification lists the ones it has.
Pro
Display Settings and Show Notification are Pro steps, in the free 14-day trial too.
In a game
A game that runs as administrator needs Work with admin windows on in Settings > General for the hotkeys to work while it's in front.

FAQ

Is there a keyboard shortcut to change the screen resolution in Windows?

MacroWin adds one. With this macro, Ctrl+Alt+Win+F1 sets your main monitor to 1280 x 720 and Ctrl+Alt+Win+F2 sets it back to 1920 x 1080. You can change the keys and the sizes to your own.

Do I need to write a script?

No. You pick steps from a list and fill in their settings, or install the ready-made macro from this page. There is no code or script to write.

What happens if my monitor doesn't have that resolution?

Nothing changes. Display Settings can set only a mode the monitor has, so the step fails and a notification lists the resolutions your monitor has. Pick one of those for Width and Height.

Can it change the refresh rate too?

Yes. In Display Settings, set Setting to Refresh rate and type the rate in Hz, such as 60 on one key and 144 on the other. It has to be a rate the monitor has.

Can it change the resolution for one game and put it back?

Yes. Use the App Event trigger with your game's .exe instead of a hotkey: when it starts, Display Settings sets the game's resolution, and when it closes, a second one sets yours back. MacroWin notices a game starting or closing within about a second.

Does it work with two monitors?

Yes. In each Display Settings step, Monitor says which one changes: 1 is the main display, then the others from left to right. Add a step for each monitor to change them together.

Is the resolution changer free?

MacroWin itself is free. Display Settings and Show Notification are Pro steps, in the free 14-day trial too, and Pro is a one-time payment.

Read more about it.

Every step has its own page with all its settings, and the guides explain the ideas behind them.

Get the screen resolution hotkeys

Free, no account needed. Windows 10 and 11.

Download