Содержание

pressKey

Emulates key pressing with the specified code.

Syntax

pressKey = function(aKeyCode);

Parameters

  • aKeyCode
    • functions: key code

Examples

  1. //Emulate pressing the "Enter"
    pressKey(13);
  2. //Emulate pressing the "Tab"
    pressKey(9);