schedule-mouse-click

Crates.ioschedule-mouse-click
lib.rsschedule-mouse-click
version0.1.0
sourcesrc
created_at2024-08-08 12:26:58.777429
updated_at2024-08-08 12:26:58.777429
descriptionA command line tool to schedule a mouse click at a specific time.
homepagehttps://github.com/JasonWei512/schedule-mouse-click
repositoryhttps://github.com/JasonWei512/schedule-mouse-click
max_upload_size
id1329486
size85,462
Jason Wei (JasonWei512)

documentation

README

schedule-mouse-click

Crate GitHub release (latest by date)

A command line tool to schedule a mouse click at a specific time.

Install

⚠ About Linux 🐧

This program uses enigo to simulate mouse clicks. Linux users may have to install libxdo-dev if they are using X11.

For example, on Debian-based distros:

apt-get install libxdo-dev

On Arch:

pacman -S xdotool

On Fedora:

dnf install libX11-devel libxdo-devel

Usage

Click at a specific time

Click at 18:00:00 :

schedule-mouse-click at 18:00:00
schedule-mouse-click at 18:00
schedule-mouse-click at 6:00pm

This program uses waltzofpearls/dateparser to parse time.

Click after a specific amount of time

Click in 2 minutes and 30 seconds:

schedule-mouse-click in 2m30s
schedule-mouse-click in 150s
schedule-mouse-click in 150

This program uses tailhook/humantime to parse duration.

Click now

schedule-mouse-click now

Double-click

Add --double or -d flag to double-click:

schedule-mouse-click --double at 18:00:00
schedule-mouse-click --double in 2m30s
schedule-mouse-click -d now
Commit count: 0

cargo fmt