Users of macOS Monterey can use the new (to macOS) app Shortcuts to automate many tasks. Developers can add direct support for Shortcuts to their apps, and we’ve heard the requests: We are investigating Shortcuts to see how we can improve support in the next major version of Moom. But just because better support may be coming in the future doesn’t mean you’re locked out of working with Moom in the Shortcuts app right now.
Moom has long supported a basic AppleScript dictionary, and Shortcuts can (with a simple setting change) execute AppleScripts. Once you’ve made that change, you can use Shortcuts to interact with some of Moom’s features. In particular, you can:
- Activate a saved window layout snapshot.
- Save a window layout snapshot. You can optionally merge with an existing saved layout snapshot, or replace an existing one (if one exists; if not, it will be created).
- Center the frontmost window, either using macOS guideline (which is slightly above screen center), or to the exact screen center.
- Generate a list of saved window layout snapshots.
Here are a few examples to get you started.
(more…)