Sounds very much like you’re seeing the problem with ME’s use of Windows’ Recording Hook.
Good luck, and maybe the thread below will point you toward a resolution.
Ugh! It doesn’t look like this is going to be addressed for a long time. That’s a problem ’cause I use keystroke macros heavily.
OTOH, I’m not getting the error message, just a freeze; perhaps it’s something else.