#windows-system #mouse #set #keyboard #operation

autodesktop

Under Windows system, a set of tools to simulate the operation of a mouse and keyboard

1 unstable release

0.1.0 Mar 27, 2023

#394 in Simulation

MIT license

21KB
589 lines

Introduce

Under Windows system, a set of tools to simulate the operation of a mouse and keyboard

Install

1.need mingw toolchain and set it to PATH environment variable

2.set rust toolchain

rustup default stable-x86_64-pc-windows-gnu 

Tutorial

Mouse

Simple usage

Mouse::new()
        .move_to(0,0)
        .unwrap()
        .click();

KeyBoard

Simple usage

When you using vim ,the next code will change vim to the insert mode and input "大家好!"

KeyBoard::new()
        .press(KeyBoard::I)
        .release(KeyBoard::I)
        .send_text("大家好!");

Dependencies

~0.4–325KB