void sendKeyString(string keyString, int target = 0)

Attempts to convert each character in keyString to keys

Security

Trust Level Required: Full Trust

Parameters

Name Description
keyString string
Message to be converted to keys and sent to target
target (Optional) int
Targets: Current = 0 (Sends to whatever currently has focus), Browser = 2 (Sends to the active browser). Defaults to 0

Return

Nothing returned

Examples


var input = document.getElementById('myTextInput');
input.focus();
KioUtils.sendKeyString('Hello, world!');

Requirements

KioWare OS (Linux®) version 1.0 or greater.


Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.