keyboard_key_press(key);
Argument | Description |
---|---|
key | The key to simulate a press of. |
Returns: N/A
With this function you can simulate the press of any key on the
keyboard. The function accepts any of the vk_ constants as
well as the standard keys and even the ascii code.
keyboard_key_press(vk_space);
This will simulate a spacebar press.