Crates.io | noct |
lib.rs | noct |
version | 0.1.0 |
source | src |
created_at | 2023-01-11 12:38:56.410252 |
updated_at | 2023-01-11 12:38:56.410252 |
description | A cross-platform library to input simulation. |
homepage | https://github.com/rurskhakov/noct |
repository | https://github.com/ruriskhakov/noct |
max_upload_size | |
id | 756382 |
size | 69,173 |
❗It's a enigo clone becase of parent repository is abandoned.
let mut noct = Noct::new();
noct.mouse_move_to(500, 200);
noct.mouse_click(MouseButton::Left);
noct.key_sequence_parse("{+CTRL}a{-CTRL}{+SHIFT}Hello World{-SHIFT}");
for more look at examples
Linux users may have to install libxdo-dev. For example, on Debian-based distros:
apt-get install libxdo-dev
On Arch:
pacman -S xdotool
On Fedora:
dnf install libX11-devel libxdo-devel
On Gentoo:
emerge -a xdotool