Learn R Programming

KeyboardSimulator (version 2.6.0)

keybd.release: Simulate Key Release

Description

Simulate the release of keyboard keys held by keybd.press. Multiple keys can be released simultaneously by using a + separator (see Examples). See keyboard_value for supported keys.

Usage

keybd.release(button)

Arguments

button

character. The key release to simulate (not case sensitive).

See Also

keybd.press

Examples

Run this code
if (FALSE) {

# Move to the third working window
keybd.press('Alt', hold = TRUE)
keybd.press('Tab')
Sys.sleep(0.1)
keybd.press('Tab')
keybd.release('Alt')
}

Run the code above in your browser using DataLab