Going through my comments backlog I found a question asking how to send virtual*keystrokes on
OS X. Short answer is to use the*CGEvent functions in MacApi.CoreGraphics – in a nutshell, Call*CGEventSourceCreate to allocate*a*CGEventSourceRef. For each keystroke, create a*CGEventRef by calling ...
More...