Simulate keyboard key presses. Multiple keys can be pressed simultaneously by using + as separator (see Examples). See keyboard_value for supported keys.
Usage
keybd.press(button, hold = FALSE)
Arguments
button
character. The key press to simulate (not case sensitive).
hold
logical. Whether the key should be held down. If TRUE, the key can
be released by pressing the phsical key on the keyboard or by using the keybd.release function.