I appreciate the shout-out, @kcwhat, but I think in this case, the OP is asking for a way to enable and disable the current selection in the KM editor itself. @Macs_Productivity, this is the macro I use as a shortcut for enabling and disabling things in KM. It works for multiple actions and macro groups as well as macros:
No need to crawl to the back! There's plenty of room in this truck (or maybe it's more like a ship, with Peter charting the course and the rest of us along for the ride, helping fellow passengers out where we can?) for anyone who wants to pitch in