Object PmKey (Key)

The object runs the onKeyDown and onKeyUp events of this object by pressing the key or their combinations.
No other PROMOTIC objects can be created in this object. This object can be created in the PmRoot, PmFolder and PmPrototype objects. Multiple objects of this type can be created in such objects.
It is recommended to enter only the more system key combinations like for example Ctrl+Alt+K or F2 key, etc. But some of the keys can already be disabled by the OS Windows and they won't be functional here.

If other keystrokes have to be caught in general as, for example, Esc, etc., then it can be done in the PmRoot.onKeyPress event.

This object adopts properties and methods of object PmObject.
Properties and methods:
Emulate Emulation of the keystroke
Enabled Enable/disable the keystroke function
onKeyDown Fires after pressing the key
onKeyUp Fires after releasing the key
Configuration windows:
Object General information about the object
Content Content of the object in the XML form
Events Definition of object events algorithms
Key Definition of the shortcut key or their combination
See also:
PROMOTIC 8.3.29 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice