Keyboard Shortcuts to Un-minimize Windows from your dock!

Here’s a simple non-scripting trick I invented yesterday to unminimize windows from the dock:

I made the macros based on this approach:

  1. Move the focus to the dock (Native Mac shortcut: fn + control + F3)

  2. Stimulate keystroke “F” (moving the focus to Finder - the always left-most item on the dock (better to type out entire “Finder” tho in case you have another app starting with “F”))

  3. Move X number of times to the left (Stimulate keystroke “←”)
    - The trash bin will always on the right-most position
    - So to move to the first window to the right, you would stimulate the "←" twice. (and so on)

  4. Hit Enter to unminimize the window (bring it to the front)

The way I do it is I assign a hotkey to trigger the first 2 steps and then activate a palette (for one action) containing macros that will execute steps 3-4. For me, I'd like to use the number keys (1-5) to select the windows I want to un-minimize (1 being the tab closest to the right position beside the trash bin). After a number key is pressed, the palette will deactivate, therefore restoring the normal number key functions afterward. You can also just combine each one into 1 macro (1 for each window in the dock) instead of using a palette. The reason I use palette is because I hide my dock, and I need to unhide the dock first anyway to see what windows I have on it. Plus I get to use number keys that way.

The palette group also contains macros that use ⌘ + 1/2/3/4/5 to close the windows you want in the dock.

Add as many window numbers as you like. But I find it hard to keep count after the 5th window.

I don't know if this is useful to anyone, but I've always wanted to unminimize windows with shortcuts but I don't know the first thing about scripting. So this is kinda a dream come true for me haha. Hopefully, this helps someone who wants something like this. Feel free to make any tweaks!

P.S. I re-configured my cap-lock key to Control, making it really easy to trigger the hotkey I used for this. OK BYE! :slightly_smiling_face:

Docky-Unmini-mini-mo.kmmacros (41.9 KB)