Window Squish, Move and Resize [Win3]

This is a series of macros to Squish, Stretch, Move and Resize windows.

They replace my earlier window macros.They mostly operate on the front application window and so can be used on a number of screens, or possibly alongside other window applications.

A cribsheet can be created, if required

README incl implementation, VERSION LOG CRIBSHEET and TIPS&TECHNIQUES can be access via the top level palette.

———————————————————–

Win3 HotKey Combos

The hotkey combos used are as follows, but you can change these as required

COC+char is CTL+OPT+CMD+char

SCO+char is SHIFT+CTL+OPT+char

SCOC+char is SHIFT+CTL+OPT+CMD+char
Status is the Keyboard Maestro Status menu (via KM icon in top menubar)
§ is the Section Char (Top left of keyboard)

This macro group provides the following functions COC+ § Display macro group palette

COC+ 1 Move front window to lNTERNAL screen

COC+ 2 Move front window to SECOND named screen

COC+ 3 Move front window to THIRD named screen

COC+ 4 Move front window to TOP LEFT quadrant

COC+ 5 Move front window to TOP RIGHT quadrant

COC+ 6 Move front window to BOTTOM LEFT quadrant

COC+ 7 Move front window to BOTTOM RIGHT quadrant

COC+ [ Move front window to LEFT HALF of screen

COC+ ] Move front window to RIGHT HALF of screen

COC+ ' Move front window to TOP HALF of screen. (COC+SINGLEQUOTE)

COC+ ; Move front window to BOTTOM HALF of screen. (COC+SEMICOLON)

COC+ T Move front window and TILE on SECOND screen (COC+T)

COC+LeftArrow Resize 10% narrower (COC+LEFT ARROW)

COC+RightArrow Resize 10% wider (COC+RIGHT ARROW)

COC+UpArrow Resize 10% taller (COC+UP ARROW)

COC+DownArrow Resize 10% shorter (COC+DOWN ARROW)

COC+BackSlash Squish window in steps (COC+BACK SLASH)

COC+ForwardSlash Stretch window in steps (COC+FWD SLASH)

COC+8 Resize at 70% from Top Left Corner

COC+9 Resize at 90% from Top Left Corner

COC+0 Resize at 100% from Top Left Corner

COC+ ( ` ) Debug: Display variables (COC+BACK TICK)

COC+ ( , or . ) Unused: COC+COMMA; COC+FULLSTOP

SCO+1/2/3/4.. Move front window to screen1/2/3/4.....

SCO+A Bring All Front Application windows to FRONT.

SCO+Z ZOOM front application window

SCO+C Console: Open KM Engine Log in NOW mode

SCO+E EngineLog: Open KM Engine Log using SHELL

———————————————————–

JGLp [Win3] :butterfly::sparkle: Window squish, move and resize Macros.kmmacros|attachment (328.9 KB)

This is powerful demonstration of how Keyboard Maestro allows people to customize the user interface of their computer in so many imaginative ways.

I have a quetion:

Would you please clarify that statement?

I have never seen " § " on a keyboard (at least not in recent memory, it may have been on a teletype I used to program on in the '70s) and it's definitely not been on any of my MacBook Pro machines (although I haven't used the most recent few models).

Is this an external keyboard, a new feature, an iMac feature, or ??...

I ask because I have some macros that use the " § " character because it cannot be accidentally typed yet it alphabetizes easily.

Thank you for your kind words.

Top left of both my macbook pro keyboard and on my external macbook keyboard, underneath escape “char/key” and next to “1”.

———————————————————–

===================================

Having done some more research, it is top left on UK (and USA ?) keyboards but may or may not be there for French,German etc keyboards.

So feel free to change it to something else; ideally something that works with CTL+OPT+CMD+ and not using SHIFT.

So in my case

CC+§ Top level Palette of Palettes

COC+§ Win3 palette directly

SCO+§ Screen display resolution Palette directly

CO+§ Engine log Palette directly

OC+§ Another app palette directly (current focus of development)

SCOC+§ Shutdown/Restart Palette directly

(SCOC is “difficult finger position” hence used infrequently)

Finally, I want to acknowledge that there are other KM Window macros on this site, and for extra functions there is “MOOM” as a separate app, which does more things than the macros above.

Moom · Many Tricks

MOOM is developed/maintained by Rob Griffiths who is also very very active on this forum.

Just to clarify a bit, as I'm not the developer of Moom: Our company, Many Tricks, created Moom. The code was written by my business partner Peter; I do pretty much all the "not code" stuff :).

-rob.

1 Like

Thanks.

I suspect it is UK because I've never seen it on a US keyboard. Mine have had, and still do have, the tilde (~) and backtick (`) up there. Yours has those down next the Z which I have never seen (and I kind of like because it does give you a whole extra key with two useful characters).

1 Like