bool SendKeyString(string, uint)
Attempts to convert each character in msg to keys
Security
Trust Level Required: Full Trust
Parameters
Name | Description |
msg |
string Message to be converted to keys and sent to target. |
target |
(Optional) uint Targets: Current = 0 (Sends to whatever currently has focus), Smart = 1 (Sends to the active desktop window), Browser = 2 (Sends to the active browser), Caller = 3 (Sends to the calling JavaScript browser). Defaults to 0. |
Return
True if all keys were sent.
Examples
if(!KioUtils.SendKeyString('Sent from JS call')) console.log("Failed to send 0 to field");
Requirements
KioWare for Windows version 8.1 or greater.