How would you simulate the keystroke ö
on Mac OS X programmatically?
This isn't just a randomly chosen character, I know you can simulate all ASCII characters as well as some special ones like Esc
, Backspace
, etc using either an embedded Applescript or CGEventCreateKeyboardEvent
. But what about all those keys for which a CGKeyCode isn't defined? There must be a way!