bbigras / rs-autoit

Rust binding for autoit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

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

About

Rust binding for autoit


Languages

Language:Rust 99.6%Language:C++ 0.4%