typeText
Type into the foreground app.
js
typeText(text)Arguments
| Argument | Type | Meaning |
|---|---|---|
text | string | Text to insert. |
Returns
No return value (undefined).
Example
js
typeText("Hello");Notes
Focus the intended field before typing or deleting; verify the result.