robot

Simulate keyboard and mouse events https://github.com/lfairy/robot

Latest on Hackage:1.4

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

OtherLicense licensed by Chris Wong

The Haskell Robot

Robot is a library for sending fake keyboard and mouse events using Haskell. Applications will respond as though the user performed the actions themselves.

Only X11 systems are supported right now, but Windows and Mac can be added later if anyone cares.

Here are some things you can do:

Quick start

First, download and install the library:

git clone https://github.com/lfairy/robot.git
cd robot
cabal install

Now try running some of the programs in the examples directory.

TODO

  • Backends for Mac OS X, Windows, and Wayland

  • Screenshots

  • Actions currently run instantaneously, which can be an issue for some applications. Perhaps add a small delay between each operation like Java does.

Used by 1 package:
comments powered byDisqus