Some people attempt to simulate keyboard input to an application by posting keyboard input messages, but this is not reliable for many reasons.
First of all, keyboard input is a more complicated matter than those who imprinted on the English keyboard realize. Languages with accent marks have dead keys, Far East languages have a variety of ...