Press

The pressKey modules presses a key down and keeps it pressed. The key can be released again using the release module. Otherwise it will stay pressed.

Parameters:

  • value: string

Example usage:

taskZen.pressKey('KEY_A')

The key specified needs to be valid and supported by your device.


Related: