Simulate Keystroke Not Working in Mojave

Apple’s Accessibility permissions seem to be (surprise surprise) somewhat dodgy.

Either toggle the Accessibility permissions for Keyboard Maestro and Keyboard Maestro Engine off and then on again, or try restarting.