right: Right Click

Description Usage Arguments Note See Also Examples

Description

Sends a right click, when called.

Usage

1
right(failSafe = TRUE)

Arguments

failSafe

Logical flag to allow for emergency stops. Default is TRUE.

Note

If failSafe is TRUE, the function checks whether the mouse cursor is at the upper left position of the screen (pixel: x = 0, y = 0) . If so, the function fails and throws an error, allowing for emergency stops during code execution.

See Also

delay, move, left, pos, record

Examples

1
2
3
4
5
6
## Not run: 
move(50, 50)
delay(1000)
right()

## End(Not run)

rMouse documentation built on May 1, 2019, 9:23 p.m.