Progetto H — API Reference API & Scripting Documentation
Function Client Fast

WebUI:SendKeyEvent

Sends a Key Event into the WebUI programmatically

Syntax

Lua
my_web_ui:SendKeyEvent(key_type, key_code, modifiers = WebUIModifier.None)

Parameters

Name Type Default Description
key_type WebUIKeyType
key_code integer
modifiers optional WebUIModifier WebUIModifier.None Supports several modifiers separating by <code>|</code> (using bit-wise operations)