0 purchases
auto desktop
auto_desktop #
auto_desktop Dart package is designed to interact with the AutoItX dynamic link library through Dart's FFI (Foreign Function Interface) to automate mouse and keyboard operations on desktop applications. This package is suitable for developers who need to automate mouse and keyboard control on Windows systems.
Features #
Mouse Operations: Supports mouse movement, clicking, double-clicking, pressing, releasing, and scrolling.
Keyboard Operations: Supports sending strings, key combinations, key presses and releases, and repeated key presses.
Easy to Use: Provides an intuitive Dart API that makes it simple to implement complex desktop automation tasks.
Getting started #
Prerequisites #
Operating System:: Supports only Windows systems.
Installation #
dart pub add auto_desktop
copied to clipboard
Usage #
import 'package:auto_desktop/auto_desktop.dart';
void main(List<String> args) {
mouseMove(100, 200);
mouseClick();
mouseClick(button: MouseButton.right);
mouseClick(x: 100, y: 100, clicks: 5, speed: 1);
sendCombinationKeys(KeyCode.a, [ModifierKey.ctrl]);
keyDown(ModifierKeyCode.ctrl);
keyUp(ModifierKeyCode.alt);
keyPress(KeyCode.a, 10);
typeString("hello world");
}
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.