MonitorKeys

If you define an OnKeyDown event for a prompt, the default behavior is to return any key pressed for processing at the scripting level. This method allows you to narrow down the scope of keys requested to improve performance.

If you have the OnKeyDown event in script and did not specify any keys, the default mode is vkAll.

Group: Prompt-Specific Extensions


Syntax:

PromptID.MonitorKeys(Mode,[Keycode]...

Modes:

vkNone = No keys are monitored; no keys will be sent to the script engine.

vkAll = All keys monitored; All keys will be preprocessed in the script engine before RFgen handles them.

vkCursor = The up, down, left, right, page up, page down, home, end keys will be preprocessed in the script engine before RFgen handles them.

vkEscape = The Escape key will be preprocessed in the script engine before RFgen handles it.

vkList =The list of virtual keycode values specified as optional parameters to be preprocessed in the script engine before RFgen handles them.

[keycode] = comma separated list of virtual key codes