mouse.click {KeyboardSimulator} | R Documentation |
Simulate left and right button of mouse clicks.
mouse.click(button = "left", hold = FALSE)
button |
character. Allowed values are " |
hold |
logical. Whether the button should be held down. |
## Not run: # left mouse click mouse.click(button = "left") # left mouse click and hold mouse.click(button = "left", hold = TRUE) ## End(Not run)