3 releases

Uses old Rust 2015

0.1.2 Sep 3, 2018
0.1.1 Jan 25, 2017
0.1.0 Dec 19, 2016

#1993 in #bindings

Unlicense/MIT

11KB
181 lines

autoit crate Average time to resolve an issue Percentage of issues still open

autoit

Rust binding for AutoItX

(Work in progress): If you need any function just open an issue or a PR.

Examples

use autoit::{init, mouse_move, mouse_get_pos};

init();

mouse_move(0, 0, Some(0));
assert_eq!(mouse_get_pos(), (0, 0));

mouse_move(50, 50, Some(0));
assert_eq!(mouse_get_pos(), (50, 50));

Build

Only tested with nightly-x86_64-pc-windows-msvc. Not sure if it will work with gnu (mingw).

To build and run I have to set INCLUDE, LIB, LIBCLANG_PATH and PATH in a "VS2015 x64 Native Tools Command Prompt":

set INCLUDE=%INCLUDE%;c:\AutoItX;C:\Program Files (x86)\Windows Kits\10\Include\10.0.10150.0\ucrt

set LIB=%LIB%;C:\Program Files (x86)\Windows Kits\10\Lib\10.0.10150.0\ucrt\x64;C:\AutoItX

set PATH=%PATH%;c:\AutoItX

set LIBCLANG_PATH=D:\LLVM\bin

License: Unlicense/MIT

Dependencies

~0.5–2.7MB
~50K SLoC