Link Search Menu Expand Document

Integrating with Moom

You can integrate with the fantastic window manager, Moom, for detailed control over how windows are organized after a Bunch launches.

I originally wrote about this on my blog. Since writing that, Bunch has added the delayed launching feature, which is ideal for having Moom wait until all apps in the Bunch have loaded before attempting to modify their window positions.

First, launch the Bunch and time how long it takes all of the apps to fully load. Then arrange the windows as desired, and use Moom’s Save Window Layout Snapshot… feature to store a snapshot with a unique title. If needed, see my original post for more details.

Once you have the named snapshot, you can add a line to your Bunch calling it with AppleScript:

Audio Hijack

* tell application "Moom" to arrange windows according to snapshot "Podcasting" ~10

Note the ~10 at the end of the line, telling Bunch to wait 10 seconds before running the command. Change that to however long it takes this particular Bunch to load.

Alternatively, put the script line in a snippet and call it with the Waiting Snippet feature.