Skip to main content

Keystroke object

Keystroke object represents a keystroke sequence to emulate keyboard.
The Keystroke object, contrary to its name, does not represent a simple key press or release; instead, it can express a sequence of continuous key inputs.

Constructors

Constructor
mapper.keystroke()

Properties

NameDescription
Keystroke.durationThe duration of key press
Keystroke.intervalThe interval between keystrokes

Methods

NameDescription
Keystroke:synthesize()Synthesize keystroke sequence held by this object
Keystroke:synthesizer()Create a native-action to synthesize keystroke sequence hold by this object

Operators

OperatorDescription
+Concatenating operation for keystrokes

See Also