Use SendString to type text
The function
SendString
allows you to type text in a Edit without keyboard simulation.
And you can download the sample from
SendString.amk