Cross-Space Window Targeting
Cross-Space Window Targeting
Section titled “Cross-Space Window Targeting”When a macro needs to click in a window that’s on a different Mission Control Space, ClicKey switches to that Space and brings the window forward – using the native macOS animation, not by yanking the window onto your current Space.
Overview
Section titled “Overview”A macro can target a window on another Space: ClicKey remembers each window and brings it forward later – even from a different Space.
The user-visible result:
- Smooth Space switches with the macOS swipe animation.
- The window comes forward at its recorded position; no teleport onto your current Space.
- Works whether or not you have been to that Space yourself – ClicKey visits it when it has to.
What you’ll see
Section titled “What you’ll see”- “Will switch Spaces” notice in the pre-playback dialog when a target is on another Space.
- “Preparing window X of N:
” during the warm-up step, with a small progress indicator. - During playback, a brief swipe animation when ClicKey switches Spaces to reach a target window.
- ClicKey doesn’t switch back at the end – playback ends on whatever Space the last action used.
How to use
Section titled “How to use”You don’t configure or trigger anything yourself – Cross-Space targeting is part of the Pre-Playback Window Check and runs automatically. If something doesn’t work:
- If a run fails with “Window not found” only for windows on other Spaces, switch to that Space yourself once before playback.
- If a particular anchor isn’t actually required for your run, mark it Excluded from the pre-playback check in the action editor.
Notes & limitations
Section titled “Notes & limitations”- A window that has never been visible on a reachable Space is fetched on demand, which means a visible Space switch of a few seconds before it comes forward. It is not an error, just the slow path.
Related
Section titled “Related”- Window Anchors – what an anchor stores and how cross-Space resolution uses it.
- The Pre-Playback Window Check – the dialog that runs the warm-up step.
- Open Application – make sure the target app is running before the macro needs it.
- Known Limitations – the broader list of caveats, including cross-Space ones.
- Why Did My Macro Stop? – diagnose “window not found” errors.