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).
if (FALSE) {
# Move to the third working windowkeybd.press('Alt', hold = TRUE)
keybd.press('Tab')
Sys.sleep(0.1)
keybd.press('Tab')
keybd.release('Alt')
}