![]() I have these wrapped in a repeat block because when I first built them years ago, sometimes my Mac would skip a beat and not move the window, so I had it repeat twice to make sure it moved. The spatial trigger (from the number pad), the Conflict Palette trigger (for the laptop), and the Stream Deck trigger. As I mentioned before, each of these has 3 triggers. Here’s one of the macros we can walk through… They are built for side-by-side 28″ 4K monitors with the main monitor on the right, so you may need to adjust to your setup. First, if you’d like to play along, you can download my Macro Set as a starting point. GIF of the Keyboard Maestro Conflict Palette The Macros This is the way I trigger everything on my laptop when I don’t have my big keyboard. If multiple shortcuts have the same trigger, Keyboard Maestro throws up a Conflict Palette, which lets you choose an option by typing a letter or two. In addition to the Stream Deck and the spatial triggers, I set another hotkey trigger ( ⌃⌥⇧⌘-Up Arrow) on ALL the shortcuts. The purple arrows are where the macro throws the window. In this image (I use a Keychron K4 as my main keyboard, FWIW), the red box is the right monitor, the yellow box is left monitor in landscape, and the blue box is the left monitor in portrait. It seems confusing, but if you wrap your head around “the right two keys are the right monitor, the left two keys are the left monitor, and the number pad is a map” it totally makes sense (to me.) These modifier combinations also work with the Stream Deck buttons to target the left or right monitor. ⇧⌃ (Shift-Control) is the left monitor (when it’s in portrait) 2 ⌃⌥ (Control-Option) is the left monitor (when it’s in landscape) The modifiers are a bit more nuanced but still make sense. The number pad is the “map” of the screen. I hold down 2 modifiers and then hit a key on the number pad. I also have them mapped to a Stream Deck profile that has buttons for each position as well. This is used when I’m on my laptop and don’t have the number pad. I have a second hotkey trigger that triggers a conflict palette. One is my “spatial” shortcut, which is a combination of some modifiers and the number pad. They are triggered via one of two keyboard shortcuts, called a “hotkey trigger” in Keyboard Maestro. The TriggersĪll of these window positions are individual Keyboard Maestro macros. There is no UI, so you don’t see a Moom-like grid, and there’s no drag-to-the-edge action, but I run all this from my keyboard, so none of that interests me. Once everything is set up, it works just as well (better, in my opinion) in Keyboard Maestro as it does with any other dedicated app. ![]() We’ll get to the nitty-gritty in a bit, but first, let’s talk basics… A DisclaimerĪny of the tools mentioned above, and many more, can do this with less finicky pre-programming. For this post, the “more” is window management. I use it for a bunch of stuff like text replacement, UI scripting, keyboard shortcut overrides, adding keyboard shortcuts to apps that don’t have them, running scripts, performing API calls, and more. Keyboard Maestro can do eleventy-billion things. If you’re a Keyboard Maestro user, maybe you don’t need any other tools. There is Moom, Better Touch Tool, Better Snap Tool 1, Mosaic, Magnet, Veeer, and probably 40 others. There are lots of tools in the world that can manage your windows on the Mac.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |