1

I have long known about the "Aero Shake" group policy setting located in:

User Configuration > Administrative Templates > Desktop

But I have recently discovered that the policy name "Turn off Aero Shake window minimising mouse gesture" is quite misleading - it seems that it disables Aero Shake entirely, not just the mouse gesture (tested on W10 and W7).

I have a two part problem, where the first step is as follows: I want to be able to use the Aero Shake keyboard shortcut, but still have the mouse gesture disabled.

...The second part of the problem is maybe there'd be some way to remap the shortcut from Win+Home to something less ridiculous which can be done by one hand, Ctrl+Caps or something, but for the sake of this SU post, I am only interested in the first part.

I did browse various Aero Shake related posts on here before, seems like what I am trying to accomplish is quite uncommon.

If anyone has any suggestions which work, I would much appreciate it!

EDIT: User @Gantendo has helped me quite a lot. So the best way to proceed looks like this: to turn off Aero Shake in group policy, and re-create the functionality using a 3rd party scripting language. Minimising all inactive tabs seems to be the easy part (in terms of recreating), however bringing back minimised tabs, the same tabs that were minimised, is a little less obvious.

We tried an AutoHotKey script, however it had unintended consequences, and minimised away my start menu and taskbar - so @Gantendo has suggested using AutoIt scripting. We currently have a "WIP" code that should be able to minimise inactive tabs, and make a note of the tabs that are minimised along the way, so that the feature of "restoring tabs previously minimised by aero shake" can be implemented also.

2
  • @Gantendo Thanks for the comments, but to clarify: Aero Shake minimises all windows apart from the active one. Minimising active window is already possible thanks to Win + Down arrow. Sorry I didn't make it clearer, heh
    – bfh47
    Commented Apr 22, 2023 at 0:00
  • Geez things are happening in real time, you wrote a comment whilst I was modifying mine - scared the crap out of me!
    – bfh47
    Commented Apr 22, 2023 at 0:02

1 Answer 1

0

First, disable that option. Then create your own keyboard combo in, for example, AutoHotKey: https://pastebin.com/mrZxjSew

If you want to use a different key instead of F2 look at https://www.autohotkey.com/docs/v1/lib/Send.htm


Another option is using AutoIt, which is pretty similar, here is a quick example:

https://pastebin.com/PHsU5sVj

12
  • Okay - I do have autohotkey, so am willing to give this a go. Do you happen to know if pressing again restores the previously open windows back to how they were? That is almost as important as the minimising part for me. Thanks
    – bfh47
    Commented Apr 22, 2023 at 0:03
  • It currently doesn't, but you could easily add that functionality
    – Gantendo
    Commented Apr 22, 2023 at 0:08
  • Hmm, this is certainly a start. It's "slightly" worse than the built in one, because for example, if you have many things open, you can tell it's procedurally minimising each one, so it's not "instant", but that's not a problem! Now, as a user (not a coder!) of AHK scripts, I don't know how easy it would be for the script to make a note of each window it minimises, then reference that list to re-open the previously minimised stuff. But it is something I can spend time looking into. Thanks
    – bfh47
    Commented Apr 22, 2023 at 0:19
  • I did encounter some strange graphical glitches in my taskbar when running two ahk scripts at the same time (before this, I had an AHK script that was always running in backgound, (some hotkeys to allow any window to be "always on top")). But I will keep using and monitor.
    – bfh47
    Commented Apr 22, 2023 at 0:20
  • Well, I am personally more comfortable with AutoIt, and I found a nice little function you could use (before admins come to tell us this is not a scriptwriting service haha) I will update the answer above
    – Gantendo
    Commented Apr 22, 2023 at 0:21

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .