Repository
Current version released
6 years ago
Dependencies
github.com
Autopilot Deno
AutoPilot is a simple cross-platform desktop automation library for Deno.
Features
- Type a string using
.type - Simulate mouse movement using
.moveMouse - Get screen size using
.screenSize - Alert box using
.alert - Capture screen using
.screenshot
Documentation
In progress…
Usage
NOTE: Currently, I have not published plugins for Mac and Windows (because I don’t have access to either). I encourage you to build this project on the platform and create an issue.
import AutoPilot from 'https://raw.githubusercontent.com/divy-work/autopilot-deno/master/mod.ts';
// create a new AutoPilot instance.
var pilot = new AutoPilot();
// type a string
pilot.type("Yay! This works");
// alert something
pilot.alert("This is a alert")
// get screen size
pilot.screenSize();
// move mouse
pilot.moveMouse(200, 400);
// take a full-screen screenshot
pilot.screenshot("screenshot.png");