Project

imitator_x

0.0
No commit activity in last 3 years
No release in over 3 years
The Imitator for X library allows you to simulate key and mouse input to any Linux system that uses the X server version 11. Features also include CD/DVD drive control and direct interaction with Windows, wrapped as Rubyish objects. It's a Ruby 1.9-only library. Please also note that this is a C extension that will be compiled during installing.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

>= 2.0
 Project Readme

Abandoned project

I abandoned this project. Do not use it if you don’t want to maintain it.

Imitator

The Imitator project was born when I realized, that my main automation project, Automations, depends on quite many external resources. For example, the Linux variant, xdo, depends on xdotool as well as other command-line tools being installed and au3 only works if you have AutoItX3 installed.
Therefore, I created Imitator. This library aims to support the same features as the Automations project, but just by using the C interface of the X server and Microsoft® Windows®. At this point, I’ve already managed to get the Linux part up and running, although it doesn’t offer all the capabilities xdo does. So, if you’ve problems installing xdotool or one of the other command line tools, try the imitator_x gem.

For now I just offer a gem for automating the X server, since although I found out how to use the Win32API to do Automation I wasn’t able to find out how I get the neccassary process privileges on Windows® Vista and later to finally run this functions. At the moment, the only way I know of is running the program with administrator rights. If you know how to do it better (at least it is possible, AutoIt doesn’t need admin rights!) just send an email to sutniuq@gmx@@net.

So far, have fun with the imitator_x gem.

Documentation issues

There’s a known problem when generating the RDoc of imitator_x. During installation, RDoc may say something like “Imitator: Enclosing class or module not known” what means you missed the main part of the docs. I’m not sure in which order RDoc documents the files in the ext/ directory, but sometimes it seems that it doesn’t work out well. If you get that error, just regenerate the documentation with gem rdoc imitator_x --overwrite or, if you prefer the hanna RDoc template as I do, hanna --gems imitator_x.