Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mikesmullin/ruby-xmacro
Linux/XWindows Macro Recorder and Playback; based on xmacro, simplified by Ruby.
https://github.com/mikesmullin/ruby-xmacro
Last synced: about 1 month ago
JSON representation
Linux/XWindows Macro Recorder and Playback; based on xmacro, simplified by Ruby.
- Host: GitHub
- URL: https://github.com/mikesmullin/ruby-xmacro
- Owner: mikesmullin
- Created: 2010-07-05T13:37:19.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2010-12-30T22:57:46.000Z (about 14 years ago)
- Last Synced: 2024-04-14T14:50:56.807Z (9 months ago)
- Language: C++
- Homepage:
- Size: 117 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Rb-XMacro by Mike Smullin
============** RB-XMacro lets you automate your keyboard and mouse movements in XWindows using Ruby. **
Installation
------------on Ubuntu 10.04 LTS (Lucid Lynx) 64-bit:
sudo aptitude install xmacro
this will get you the last known release of xmacro
but it only supports a minimum delay of 1 second
which is extremely slow. too slow for me. so below
i have modified the source of xmacroplay binary
so that you can sleep for milliseconds:sudo aptitude install libxtst-dev
cd src/xmacro-pre0.3-20000911/
make xmacroplay
sudo mv xmacroplay /usr/bin/xmacroplayUsage
------------- View scripts under ./example/
- Write your own script using similar syntax.
- Execute by passing path to your script as first argument to rbxmacro bash script, leaving off the file extension of .rb.
- Watch is xmacro performs your automated keyboard/mouse movements.
- Ctrl+C to stop execution, or wait for script to finish.
- Enjoy!Example
------------./rbxmacro example/awesome-workspace-setup
I use it to automate setting up my development workspace, but its similar
to Ruby Expect in power and utility. You could technically use it to ssh
into remote servers and execute queries. The only problem is it is one-way;
right now the macro program is not triggered by events and can only wait
with a sufficient delay that it usually works.Future goals
------------At some point, I would like to see this extended to function more like AutoHotkey does for Windows.
http://www.autohotkey.com/Credits
------------RB-XMacro is written by Mike Smullin and is released under the GPLv2 license.
based on Xmacro by Gabor Keresztfalvi see http://xmacro.sourceforge.net/
based on xremote by Jan Ekholm see http://freshmeat.net/projects/xremote/