Project

xdrp

0.0
Low commit activity in last 3 years
No release in over a year
A basic macro recorder for GNU/Linux which uses program xinput to capture input events.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 1.1, >= 1.1.3
~> 0.0, >= 0.0.4
~> 0.3, >= 0.3.1
~> 0.0, >= 0.0.8
~> 0.8, >= 0.8.1
 Project Readme

Introducing the Xdrp gem

Recording a Macro

Usage:

require 'xdrp'

xr = Xdrp::Recorder.new
xr.start

# use alt+z to stop the recorder

xr.save '/tmp/test2.xml'

Replaying a Macro

Usage:

require 'xdrp'

sleep 2
Xdrp::Player.new('/tmp/test2.xml').play

Note: A sleep statement before the macro plays can be helpful to give time to switch to the target window.

The above examples demonstrate how to record a macro and replay it on a GNU/Linux based Windowing system.

Resources

xdrp gem macro recorder player xinput sendkeys automation mouse mousemove keystrokes logger