Me again, I re-map my mouse's middle button (the scroll button) as a keyboard shortcut so that
I can quickly run the action (Command W for minimize the window) of the different Apps .
It looks like this.
I am wondering...does it look okay to you? I always think it maybe takes out / occupies large of Computer's resources such as RAM or CPU for some reasons..since it requires KM always "check" the status of these apps also it has "if else"....Though I 've got a iMac i7 2017 model.
Great, glad that helped. BTW, you do NOT need the "Cancel Macro" at the bottom of every Switch Case. After the Actions for the Case that meets the criteria are completed, then the Switch Action is exited.