/WindowHotKeys

Shortcuts to move and resize windows in Windows. Uses AutoHotkey.

Primary LanguageAutoHotkey

Move And Resize Hotkeys

Shortcuts to move and resize windows in Windows.

!! Including shortcuts to Move Windows between Virtual Desktops!!


Move And Resize Hotkeys logo

Download the Installation Wizard

  • Download the Windows installer MSI
  • Note MSI Windows Installer installs the EXE plus additional shortcut profiles and config file.
  • Also installs system tray icon with access to settings.

Alternatively - to just get the EXE (no extra profiles and config files):

Admin User Issues?

Latest Stable Release

Move window with Alt+Win + (direction)

Move Window: Alt+Win + [Up/Down/Left/Right/PgUp/PgDn/Home/End/Del]

Move Window between Virtual Desktops: Ctrl+Shift+Win + [Left/Right]
Note: Will create a new Virtual Desktop if needed and move the current window into it.

Resize Window: Alt+Win+Shift + [Up/Down/Left/Right/PgUp/PgDn/Home/End/Del]

Special move/resize: Alt+Win+Shift + [Plus/Minus/Enter/Home/Del]

4-column layout (move): Alt+Win + [1/2/3/4/,(<)/.(>)]

4-column layout (snap): Alt+Win+Shift + [1/2/3/4/,(<)/.(>)]

Tile/Cascade: Alt+Win + [H/V/F12]

Volume controls: Ctrl+Alt + [Numpad Plus/Minus/Star]

Usage (Keyboard Shortcuts)

Move Window between Virtual Desktops (Ctrl+Shift+Win)

The following table lists the default shortcut combinations for moving windows between Virtual Desktops.

Keyboard Shortcut Action
Ctrl+Shift+Win + Left Move window previous virtual desktop
Ctrl+Shift+Win + Right Move window to next virtual desktop
Note: Will create new v-desktop if needed

Move Window (Alt+Win)

The following table lists the default shortcut combinations for moving windows.

Keyboard Shortcut Action
Basic Move shortcuts
[ Move window by 50px ]
Alt+Win + Up Move window Up
Alt+Win + Down Move window Down
Alt+Win + Left Move window Left
Alt+Win + Right Move window Right
Additional Move shortcuts
[ Move to monitor Edges ]
Alt+Win + PgUp Move window to the Top Edge
Alt+Win + PgDn Move window to the Bottom Edge
Alt+Win + Home Move window to the Left Edge
Alt+Win + End Move window to the Right Edge
Alt+Win + Del Move window to the Center
NumPad Move shortcuts
[ Moves window to the corresponding edge/corner ]
Alt+Win + NumPad 1 Move window to the Bottom Left Corner
Alt+Win + NumPad 2 Move window to the Bottom Edge
Alt+Win + NumPad 3 Move window to the Bottom Right Corner
Alt+Win + NumPad 4 Move window to the Left Edge
Alt+Win + NumPad 5 Move window to the Center
Alt+Win + NumPad 6 Move window to the Right Edge
Alt+Win + NumPad 7 Move window to the Top Left Corner
Alt+Win + NumPad 8 Move window to the Top Edge
Alt+Win + NumPad 9 Move window to the Top Right Corner

Resize Window (Alt+Win+Shift)

The following table lists the default shortcut combinations for resizing windows.

Note: Minor resize actions occur on the RIGHT and BOTTOM edges of the window.

Keyboard Shortcut Action Description
Minor Resize shortcuts [ Resize window by 50px ]
Alt+Win+Shift + Up Resize window shorter Decrease height
Alt+Win+Shift + Down Resize window taller Increase height
Alt+Win+Shift + Left Resize window narrower Decrease width
Alt+Win+Shift + Right Resize window wider Increase width
Alt+Win+Shift + PgUp Resize window smaller Decrease width and height from bottom right corner
Alt+Win+Shift + PgDn Resize window larger Increase width and height from bottom right corner

Special Move/Resize commands

Keyboard Shortcut Action Description
Resize from Center
Alt+Win + Minus

Alt+Win+Shift + Minus (-/NumMinus)
Shrink window Decrease width and height from center
Alt+Win + Plus

Alt+Win+Shift + Plus (=/NumPlus)
Grow window Increase width and height from center
Major Resize shortcuts
Alt+Win + Enter

Alt+Win+Shift + Enter
Resize to full extent of monitor Max width and height of monitor
Alt+Win+Shift + Home Center and Resize to three quarters of monitor size 3/4 width and height of monitor
Alt+Win+Shift + Del Center and Resize to half the monitor size 1/2 width and height of monitor
Restore Size / Position
Alt+Win + BackSpace Restore window to previous position (not size)
Alt+Win+Shift + BackSpace Restore window to previous size and position
Tile and Cascade
Alt+Win + V

Alt+Win+Shift + V
Tile windows Vertically
Alt+Win + H

Alt+Win+Shift + H
Tile windows Horizontally
Alt+Win + F12

Alt+Win+Shift + F12
Cascade windows

4-Column Layout shortcuts

Use the following shortcuts to align and resize windows to fit four vertical columns across the screen. Useful for very wide monitors.

Keyboard Shortcut Action
Move window (no resize) [ Align left edge of window with column grid ]
Alt+Win + 1 Move window to Column 1
Alt+Win + 2 Move window to Column 2
Alt+Win + 3 Move window to Column 3
Alt+Win + 4 Move window to Column 4
Alt+Win + ,(<) Move window to the Column on the Left
Alt+Win + .(>) Move window to the Column on the Right
Move and Resize shortcuts [ Snap to Column grid (move and resize) ]
Alt+Win+Shift + 1 Snap window to Column 1
Alt+Win+Shift + 2 Snap window to Column 2
Alt+Win+Shift + 3 Snap window to Column 3
Alt+Win+Shift + 4 Snap window to Column 4
Alt+Win+Shift + ,(<) Snap window to the Column on the Left
Alt+Win+Shift + .(>) Snap window to the Column on the Right

Author's additional shortcuts

Shortcuts added just because the author wanted them.

Adjust Volume (Ctrl+Alt+ NumPad Plus/Minus/Asterisk)

Keyboard Shortcut Action
Ctrl+Alt+NumPadAdd (NumPad +) Volume Up
Ctrl+Alt+NumPadSub (NumPad -) Volume Down
Ctrl+Alt+NumPadMult (NumPad *) Volume Mute

International keyboards

Symbols Action
AltGr + 5
Right-Alt + 5
Print Euro symbol (€)

Technical details:

Uses AutoHotkey.

Works for Windows 10 and Windows 11

Manual Installation Instructions:

  1. Download the Windows executable: Move and Resize Hotkeys.exe
  2. Include the EXE in the windows Startup folder. (or run it on demand)

Where is the Startup folder on the Windows Start Menu?

  • Your personal startup folder should be C:\Users<user name>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup.
  • The All Users startup folder should be C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup.
  • Enable viewing of hidden folders to see them.

From answers.microsoft.com