Is there a way to switch target display mode on and off via Keyboard maestro?

Thanks for the idea with the key stroke! I've made a macro demo for it.