cliclick_dart
A Dart multi-platform implementation of mouse automation tool inspired by cliclick.
Features
- Move mouse cursor to specified coordinates
- Click at specified coordinates
- Right-click at specified coordinates
- Support for both absolute and relative coordinates
- Command execution from file
- Configurable wait time between commands
Installation
dart pub global activate cliclick_dart
Usage
Basic Commands
m:x,y- Move mouse to coordinates (x,y)c:x,y- Click at coordinates (x,y)rc:x,y- Right-click at coordinates (x,y)
Coordinate Types
- Absolute coordinates:
c:100,200 - Relative coordinates:
c:+50,-30 - Current position:
c:.,. - Absolute negative values:
c:100,=-200
Options
-h, --help- Show help information-v, --verbose- Enable verbose mode-f, --file- Read commands from a file-w, --wait- Wait time in milliseconds between commands (default: 20)-V, --version- Show version information
Examples
# Move mouse to (100, 200) and click
cliclick_dart m:100,200 c:100,200
# Move mouse 50 pixels right and click
cliclick_dart m:+50,+0 c:.,.
# Execute commands from a file
cliclick_dart -f commands.txt
License
This project is licensed under the MIT License.