Skip to content

The Pre-Playback Window Check

Before any action runs, ClicKey checks every Window Anchor in your macro and confirms the target windows are open and where it expects them. If something isn’t ready, a dialog shows what needs attention and offers to fix it. When you click Start Playback, a 3-2-1 countdown leads into the macro.

The check has three jobs:

  1. Verify – find each anchored window in the live system.
  2. Repair – let you pick replacement windows, exclude anchors, or open missing apps when something doesn’t match.
  3. Warm up – for windows on other Mission Control Spaces, ClicKey briefly visits those Spaces before playback, so switching to them during the run is smooth and fast.

The check runs before every run. If all windows are fine, no dialog appears and the 3-2-1 countdown starts right away.

  1. Press Play. If all windows are fine, the countdown starts right away. Otherwise the dialog opens and shows the windows that need attention.
  2. For each entry, read the status. Fix anything marked Window not open or in a state that worries you.
  3. When everything is fixed, click Start Playback to start the 3-2-1 countdown.
  4. Press Enter to skip the countdown, or Esc to cancel the run.
StatusWhat it meansWhat to do
OKThe window was found at its recorded location.Nothing.
Different monitorThe window has moved to a different display since you recorded. ClicKey translates the recorded frame into the new display’s coordinate space so your clicks still land. If the monitor you recorded on isn’t connected at all, the window is centered on the largest connected display, inside its usable area – clear of the menu bar and the Dock.Usually nothing – informational.
Window doesn’t fit the monitorClicKey has measured the window against the work area of the target monitor and it won’t fully fit. The window is anchored to the top-left of that monitor’s work area (just below the menu bar) so its title bar, toolbar, and menus stay reachable, but anything past the right or bottom edge will be cut off. macOS may also shrink the window down to fit – that’s accepted, no “couldn’t move” error is raised.Decide whether to continue. Clicks that target the off-screen portion of the window won’t reach. If the run is critical, reconnect the original monitor or move the macro to a bigger display.
Window will be resized/movedThe window is on the right display but at a different position or size. ClicKey will move it back to the recorded frame before clicks happen.Nothing, unless you don’t want the move.
On another SpaceThe window is on a different Mission Control Space. ClicKey will switch Spaces during playback with the native animation.Nothing. The warm-up step will visit the Space ahead of time.
Warming…ClicKey is currently visiting another Space to prepare. The dialog shows progress like “Preparing window 1 of 3”.Wait – it’s automatic.
Window not openNo matching window is open.Pick a replacement from the candidate list (see below), open the app and refresh, or exclude the anchor.
Multiple MatchesClicKey found a same-app window, but the title doesn’t clearly match the recorded one – e.g. the page changed since recording, or there are several windows of the same app and the resolver isn’t sure which one is meant. A picker shows the same-app candidates, pre-selected with ClicKey’s best guess.Pick the window to use from the dropdown – ClicKey pre-selects its best guess. Use Go to window next to the picker to bring the chosen window forward so you can verify it’s the right one.
MinimizedThe window is open but minimized to the Dock. Playback does not un-minimize windows on its own.Click Bring window to front on the card – ClicKey restores it and re-checks the entry.
Display goneDesktop, Dock, or menu-bar clicks were recorded on a display that isn’t connected right now. Those clicks cannot be shifted to another screen.Reconnect that display, or continue knowing those clicks will land elsewhere.
ExcludedYou’ve marked this anchor “Exclude from the pre-playback check” in the action editor.Nothing. The macro will still try to use it, but no pre-check happens.

If a window can’t be found, the row shows a candidate list – every currently running window the resolver could match. You can:

  • Pick a replacement from the list. The macro will use that window for this anchor.
  • Match pos & size (checkbox) – when ticked, ClicKey also moves and resizes the picked replacement to the original recorded frame.
  • Open the app yourself, then click Refresh in the dialog to re-scan.
  • Exclude this anchor (double-click it in the action list) if it isn’t actually needed for the run.

Each window that needs you gets its own card: a colored badge naming the problem (Window not open, Multiple Matches, Minimized, Display gone), the app’s icon and the window’s name, and below a divider whatever you can do about it – a window picker, Bring window to front, or a short instruction.

Windows ClicKey handles by itself don’t get a card. They appear as banners: anything that needs a warning sits above the cards with an orange outline, plain notices sit below them.

Both picker cards also offer Match pos & size. With it checked, the window you choose is moved and resized to the recorded position before playback, so the macro’s coordinates still land where they should.

When the title only partly matches, or several same-app windows could be the right one, the card is marked Multiple Matches and shows a dropdown of same-app candidates. The pre-selected entry is ClicKey’s best guess based on title similarity and frame proximity.

  • Confirm the guess by leaving the dropdown alone – the dialog accepts it and moves on.
  • Pick a different candidate if the guess is wrong. The macro will use that window for this anchor for this run.
  • Go to Window (next to the picker) brings the currently selected window forward so you can visually verify before starting the run.

The pick lasts for this run only; the next run re-evaluates from scratch. For a permanent change, edit the Window Anchor in the macro list.

If your macro uses a window on another Mission Control Space, ClicKey pays that Space a quick visit before playback starts. The warm-up keeps playback smooth later on – without it, ClicKey might not be able to find that window.

It happens automatically and doesn’t disrupt anything on your Mac – ClicKey just pays each Space a short visit to find the windows it needs.

During the warm-up, the dialog shows a message like “Preparing window 2 of 4: GitHub – Safari” and a small progress indicator. Your screen switches Spaces a few times, then returns to where you started.

Full detail: Cross-Space Window Targeting.

Once every anchor is OK and you’ve clicked Start Playback, a 3-2-1 countdown runs in the middle of the dialog. When it ends, playback starts right away.

KeyWhat it does
EnterSkip the countdown and start immediately.
EscCancel the run. The dialog closes; no actions run.
Click outsideCancel the run.
  • The dialog can stay visible across Mission Control Spaces. While warming, ClicKey marks the dialog window so it follows you across Spaces – you can still see progress no matter which Space you’re on.
  • Go to window reaches other Spaces too, including windows the warm-up never saw. Pick a window from a card’s dropdown that happens to live on another Space and the button still brings it forward; ClicKey visits that Space itself first, which takes a few seconds the first time that window is used. See Cross-Space Window Targeting.
  • Excluding an anchor is permanent for the macro until you re-enable it. Open the anchor in the action editor to switch the flag back off.
  • A picked replacement is a per-run choice. Next time you run the macro, the pre-playback check evaluates fresh and will offer the same candidate list again.
  • Some apps title their windows dynamically (“Order #4839 - …”). The resolver will fall back to other heuristics, but the cleanest fix is to edit the anchor’s title to a shorter substring that uniquely identifies the window. See Window Anchors.
  • The pre-playback check itself does not need Screen Recording permission, but the macro’s actions may. If a Find Text / Find Image / Check Color action will run later, make sure that permission is granted before starting. See Permissions on macOS.
  • If a target window legitimately doesn’t exist on the current machine yet, an explicit Open Application action in the macro can launch it before the anchored click runs. See Open Application.