typeText

Simulate typing text at the current cursor position.

Inserts the text at the cursor (or replaces the current selection) and moves the cursor to the end of the inserted text.