Moom: More Fun With AppleScript and Keyboard Maestro
Moom, my favorite window arranger, has a built-in AppleScript dictionary (which I didn’t know of). We can trigger snapshots with it. This means we can do all sorts of things when Keyboard Maestro is also involved.
Some thoughts:
- Depending on how many displays are connected, trigger a certain
snapshot named "Dual Layout"
. - Depending on network location trigger a certain snapshot.
- Check out some of the other AppleScript
system attributes
and Keyboard Maestro Calculation options for inspiration.
Here are the two basic AppleScripts you want to know:
tell application "Moom" to list of snapshots -- Startup Layout, Dual Monitor, Final Cut
tell application "Moom"
arrange windows according to snapshot named "Startup Layout"
end tell