Automating Window Management Across Spaces

I’ve been trying to use Bunch and Moom to launch apps and set the windows up the way I want them. I used Moom to store a snapshot of windows across multiple spaces. However, Moom seems to organize all the windows on the same space, not the space that they were on when I took the snapshot. Any other ways I may be able to automatically organize my windows on multiple spaces?

I just figured out that I can get the results I want, for the most part, using Mac’s ability to assign an app to a desktop. It just means a given app will always be assigned to a particular desktop or space.

I do the following.

Like you, I assign some applications to a specific desktop, I call these ‘anchor apps’.

I then open up the windows I want in a specific space, arrange them to my liking, and create a named Moom snapshot for each such space.

Then I set up a Bunch to open things. As finder windows cannot be assigned to a desktop I use a combination of keyboard shortcuts to switch spaces along with ‘anchor apps’ and then open the windows and any applications that are not assigned that I want in that space for this context.

I had to experiment with delays and item order in the Bunch to get everything to appear in the desired spaces, using Moom to ensure the desired arrangements. This paid off as I now have several Bunches that open apps and windows across my three monitors and ten spaces.

1 Like

This is what I was asking you about in the other forum.

It is possible to Use Bunch and Moom to control windows in multiple desktops/spaces (note that Apple uses both terms to refer to the same thing as different places).

The key point is to have Bunch move to the space/desktop you want the applications, files, and folders to be on, then open them, then have Moom arrange the windows. And then repeat for the next space/desktop. It will take some experimenting with delays in Bunch.

There are two ways to have an application open in a specific space (which you may already know).

  1. When an application is running, navigate to the space you want the application on, right click on the Dock icon, and in the menu select Options > Assign to This Desktop. And now when this application launches it will be placed on the specified desktop.
  2. In Bunch you can specify the space to open on but it requires some set up.
  • In System Settings > Keyboard > Keyboard navigation - Keyboard Shortcuts (button) > Mission Control > Mission Control (checkbox) – enable the “Switch to Desktop N” keyboard shortcuts for the N spaces/desktops you use.
  • In Bunch use the syntax {^N}, where N is the space/desktop to switch to. Then list the items to open on that space. Then trigger Moom to rearrange that space. Then move to the next space. You’ll need to experiment with the delays in Bunch to make things work.

Note that if you use method 1, then launching such an application in Bunch will switch to that space, and you can sequence the other apps for that space after this one, again experimenting with delays in Bunch.

I use these techniques in my set up, which has four monitors and ten spaces.

2 Likes