Window Minimizing

Hey all,

I am working on the perfect macro that helps me work with minimized windows. The one in the picture is close to perfect. I usually activate an app by CMD+tab. If a window of this app is minimized, it will bring it back up, just as I want it to.

There is one minor issue though. If an app is active but does not have any windows open, KM gives me the error message that no window has been found. I would like to avoid this message. I was thinking about an “if” action or by switching off error messages for this macro only. So far, I have not found a way to do either of those. Do you have any suggestions?

Thank you
Dennis

You can either turn off the flag "Notify on Failure" for the manipulate window action, or you can place the action into a Try action, which will also suppress the message.

2 Likes

Thank you this helped. Earlier I overlooked (or misunderstood) the option to not get notifications.

You are welcome. I prefer the "Try" action solution, because that's a visible piece of code, while the setting on the cogwheel is invisible.