Triggering a Keystroke With Right Click Does Not Work

I tried to use right click to trigger a keystroke in a specific software, it does not work, but it can execute other actions by right click, or I change the right click to hotkey trigger, it works. what prevents the right click from triggering successfully
Type a Keystroke Macro (v10.1.1)

Type a Keystroke.kmmacros (2.1 KB)

The macro is probably triggering (the Interactive Help, or the Engine.log file would confirm it).

The problem is the right click still right clicks, which typically displays a contextual menu which would then receive the space key.

Is there a solution for this situation?

Try simulating the escape key at the start of the macro to dismiss the contextual menu.

Good idea.It works. Thank you.

1 Like