I’ve just added to GitHub a little virtual keystroke interface for Windows and
OS X – on the former it wraps the SendInput
API, on the latter the CGEvent functions:
https://github.com/chrisrolliston/CCR.VirtualKeying Virtually typing some text into the active window is a one-liner: ...
More...