AutoWindow

Your windows, back where they belong.

AutoWindow is a free macOS menu bar app that remembers where every window goes, on every monitor and every desktop, and puts them back.

Version 0.1.2 · macOS 14 or later · Apple silicon and Intel · Signed and notarized · Free, MIT licensed

LaptopMain monitorPortrait monitorDesktop 1Desktop 2Desktop 3Desktop 4
  1. Your windows, arranged
  2. Unplug: macOS piles them on the laptop
  3. Plug back in: AutoWindow puts each one back
A snapshot records which window is on which monitor and which desktop, with its position and size.

Two things it does

Automatic is like autosave: the app keeps track of where your windows are and puts them back by itself when your monitors come back. A snapshot is like a bookmark: you save an arrangement under a name and return to it whenever you choose.

AutomaticSnapshots
What it isThe app’s own memory of where windows sit for the monitors connected nowA named save you make of your whole setup
Who saves itThe app, every 30 secondsYou, with ⌘S
How manyOne per set of monitorsAs many as you like
When windows go backBy itself: when monitors change, on wake, when an app opensWhen you pick the snapshot from the menu
DesktopsLeft alone: a window stays on the desktop it’s onRestored: each window goes back to its desktop
Good forDocking and undocking without re-arrangingSwitching between setups, such as “Deep work” and “Calls”

Plug in. Everything is where you left it.

macOS piles your windows onto one screen whenever a monitor disconnects. AutoWindow moves them back.

Automatic, per monitor setup

It keeps one layout for each set of displays: laptop only, laptop plus one monitor, the full desk. Dock, undock or wake from sleep and your windows return. Apps you open go to their usual place.

Desktop 1Desktop 2Desktop 3Desktop 4Snapshot “Deep work”

Snapshots that include desktops

Save a named snapshot of every window on every monitor and every Mission Control desktop. Restore it and each window goes back to its desktop, position and size.

1280 × 800

A visual editor

See each layout as a map of your displays. Drag windows to move them, pull the handles to resize, snap to edges, or type exact sizes. Undo until you apply.

autowindow://snapshot/restore?name=Desk

Works with Shortcuts and launchers

Save and restore snapshots with a link from Shortcuts, Raycast or a script. Links are off until you turn them on.

See your whole setup at once

The Layouts & Snapshots window shows every display and every window in a snapshot. Pick a desktop, select a window, and move it, resize it or type its exact position.

Screenshot of the Layouts & Snapshots window. A sidebar lists snapshots and automatic layouts. The map shows three displays with windows on them; an Xcode window is selected, with resize handles. A panel on the right shows its display, desktop, exact position and size, and arrange buttons. A table below lists every window.
The real app, with sample data.

How it works

  1. ArrangePut your windows where you want them, across monitors and desktops.
  2. SavePress ⌘S in the AutoWindow menu and give the snapshot a name.
  3. RestorePick the snapshot from the menu. Every open window goes back.

Good to know before you install

  • It needs the Accessibility permission. That is how any Mac app moves another app’s windows. macOS asks on first launch.
  • Restoring desktops is visible. macOS gives apps no way to move a window to another desktop, so AutoWindow does it the way you would: it holds the title bar and switches desktop. The screen flips through desktops for a few seconds. Hold Esc to stop.
  • It places open windows only. It doesn’t launch apps or reopen documents.
  • It isn’t on the Mac App Store. App Store apps must run sandboxed, and a sandboxed app can’t move other apps’ windows. The download is signed with a Developer ID and notarized by Apple instead.
  • Desktops rely on unofficial macOS behaviour. Reading which desktop a window is on uses functions Apple doesn’t document, so a macOS update could break that part. Monitor layouts don’t depend on it.

Private by design

AutoWindow has no network code and no account. Window positions, app names and window titles stay in a folder on your Mac. The source is public, so you can check.

Questions

Is it really free?

Yes. It’s open source under the MIT license, with no paid tier.

Which Macs does it run on?

macOS 14 Sonoma or later, on Apple silicon and Intel.

Does it work with one monitor?

Yes. Snapshots are useful on a single screen with several desktops.

A window went to the wrong desktop. Why?

Usually because macOS is set to rearrange desktops by recent use, which changes their order. Turn that off and save the snapshot again.

How do I remove it?

Quit it, delete the app and its data folder. Steps are in Help.

All help topics · Something else? Ask in Discussions