key.key.input_text
Declaration
lua
key.input_text(text [, clear])
Description
Instant paste text via clipboard + Cmd+V. Supports Unicode/Vietnamese.
Parameters
`text` (string) — text to paste
`clear` (boolean, optional) — if true, select all (Cmd+A) first to replace existing text
Return Values
none
Example
lua
key.input_text("Hello World")
key.input_text("Xin chào", true)
Notes
Requires SpringBoard tweak. Overwrites clipboard.