mouse.release: Simulate Mouse Click Release

Description Usage Arguments See Also Examples

View source: R/main.R

Description

Simulate the release of mouse button held by mouse.click.

Usage

1
mouse.release(button = "left")

Arguments

button

character. Allowed values are "left", "right", and "middle".

See Also

mouse.click

Examples

1
2
3
4
5
6
7
8
9
## Not run: 

# right mouse click and hold
mouse.click(button = "right", hold = TRUE)

# release right click
mouse.release(button = "right")

## End(Not run)

KeyboardSimulator documentation built on Jan. 16, 2021, 5:32 p.m.