now types out a string passed to the PrintString function as if it was a keyboard