UPDATE: Help needed improving my "Toggle Edit Mode" Macro for KM-Editor

OK, per OP's request, I have moved posts from Facing KM-Problems using macOS HighSierra 10.13.6 that concern the subject of this topic to this topic.