Skip to content

Commit

Permalink
docs: include example recording and replaying mouse commands
Browse files Browse the repository at this point in the history
Fixes #19
  • Loading branch information
socsieng committed Jan 4, 2021
1 parent 970e1df commit 5019461
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Expand Up @@ -199,6 +199,14 @@ sendkeys mouse-position
Use the `--watch` option to capture the location of mouse clicks, and combine it with `--output commands` to output
approximate mouse commands that can be used to _replay_ mouse actions.

```
# capture mouse commands
sendkeys mouse-position --watch --output commands > mouse_commands.txt
# replay mouse commands
sendkeys --input-file mouse_commands.txt
```

## Prerequisites

This application will only run on macOS 10.11 or later.
Expand Down

0 comments on commit 5019461

Please sign in to comment.