I need to RDC into a restricted-use system using Microsoft’s Remote Desktop Connection. On the Windows system, I am not allowed to copy (reasonable, to protect confidential data) nor to paste, which is not reasonable, as I often would have some piece code from elsewhere that I would love to have on the system.
However, I am obviously allowed to type. My questions is, what is the best practice for such a situation?
My guess: Could I have an AppleScript “typing” everything on the clipboard after using a keyboard shortcut? I know about the keystroke action of the System Events app, but I am not sure how to make it type the contents of my cliboard, nor how to activate it with a keyboard shortcut. I hope it would work even as RDC is active and the cursor is somewhere on the remote desktop…
Thanks!
Model: MacBook Pro (13"), early 2011
AppleScript: 2.4.1
Browser: Safari 535.14
Operating System: Mac OS X (10.7)