Sendkeys: Command line tool for automating keystrokes and mouse events on macOS
10 months ago
- #macOS
- #command-line
- #automation
- SendKeys is a macOS command line tool for automating keystrokes and mouse events.
- It can activate applications, send keystrokes, and perform mouse actions like clicks, drags, and scrolls.
- Supports reading input from files or stdin, with customizable delays and keyboard layouts.
- Includes special markup for key combinations, mouse movements, and pauses.
- Can transform text files for better compatibility with text editors.
- Features subcommands like `mouse-position` for capturing mouse coordinates and `apps` for listing activatable applications.
- Configuration can be stored in `.sendkeysrc.yml` for common arguments.
- Requires macOS 10.11 or later and terminal accessibility permissions.
- Installable via Homebrew or from source, with specific version targeting available.