That appears to be all AppleScript, so if that is not working you probably wont get any better results asking Keyboard Maestro to type the keys or modifiers.
That is using Remote Desktop Version 8.0.35 (Build 27221) and the Bete Version 8.2.26. I have not upgraded to Sierra yet. The Bete does have the ability to remap Ctl X,V & C but I would also like to be able to add Cmd A & W.
Is there any diagnostics I can send from KM that would help? I have been using the debugger to step through the actions. Shift and Control just don’t get sent.
Can you post the Macro (image and file) that you are using?
I use the KM Action "Type a Keystroke" all the time with the modifier keys, including "CTRL". So I don't know why it would not work for you, unless the app you are using the macro with is eating these keystrokes.
@msavory , did you ever solve this challenge? I am using KM to control Microsoft Remote Desktop with a Windows 10 machine on the other end. Same challenge, I send Ctrl + E and Remote Desktop only receives E.
I too encountered the same issue trying to send keys to Microsoft Remote Desktop: all modifier keys were being stripped, so I was only getting lowercase printable characters. I tried the AppleScript method, but that too did not work for me on macOS 10.15.6. Finally, I was able to achieve what I wanted by using yet another tool: hammerspoon. Doing so feels very low-level since one has to write Lua code to perform individual key down/up sequences (including modifiers) so that RDP will pass it along unmolested. The is a lot of functionality available but IMO it takes a lot of effort to get what KM can deliver -- I use palettes a lot for instance. Good luck!
@BradHowes - Would you mind sharing how configured Hammerspoon to send keys to Microsoft Remote Desktop? Unfortunately, the same problem still exists today w/ MRD and KM. Thanks
This has been happening to me too. Finally found the answer here. The fix is to change the Microsoft Remote Desktop for MacOS keyboard connection to use Unicode.
It is located in the menu of an open RDP session under "Connections"->"Keyboard Mode". There you have two choices, either scancode or Unicode.