Don't Close Chrome Pinned Tabs

I use gestures and mouse buttons to simulate CMD + W. I would love to be able to close normal tabs but for this action to instead hide window if a pinned tab is in focus. Is this possible with KBM?

This should do the trick. Let us know if it works for you.

MACRO:   Close Chrome Tab if NOT Pinned

**Requires: KM 8.2.4+   macOS 10.11 (El Capitan)+**
(Macro was written & tested using KM 9.0+ on macOS 10.14.5 (Mojave))

#### DOWNLOAD Macro File:
<a class="attachment" href="/uploads/default/original/3X/f/8/f8a51ed270487b6a707eb300d43d0ef56a4554c2.kmmacros">Close Chrome Tab if NOT Pinned.kmmacros</a>
**Note: This Macro was uploaded in a DISABLED state. You must enable before it can be triggered.**


---


<img src="/uploads/default/original/3X/1/0/10c678acabc7ed34521591c25fbac1c1884e0ba1.png" width="515" height="734">

@JMichaelTX - thank you so much! Works flawlessly. Made a slight change to action to hide the front application (vs minimize).

I LOVE this community. Seriously you guys are the best. Thanks for helping me get more done faster.

1 Like