From: Marvin Gülker on
au3 0.1.1 has been released. au3 is a library that allows you to
automate and simulate (fake) user input to a Windows system by using the
DLL interface of AutoIt behind the scenes. Abilities include:
* Cursor movement
* Key pressing
* Window interaction
* Clipboard access
* ...

Example:
------------------------------------
require "au3"
#Simulate the three letters A, B and C
AutoItX3.send_keys("ABC")
#Simulate A and B, then [ESC] and then C.
AutoItX3.send_keys("AB{ESC}C")
#Move the mouse cursor to position (100|100)
AutoItX3.move_mouse(100, 100)
#Get access to a window named "au3"
win = AutoItX3::XWindow.new("au3")
#Move it to (50|75)
win.move(50, 75)
#Close it
win.close
------------------------------------

As the name implies, it's mainly a wrapper for AutoItX, so you'll need
to have the AutoItX3.dll file somewhere in your path. See au3's README
for more details.

RubyForge project: http://rubyforge.org/projects/auto/
Gemcutter page: http://www.gemcutter.org/gems/au3
GitHub wiki: http://wiki.github.com/Quintus/Automations
GitHub issue tracker: http://github.com/Quintus/Automations/issues

Marvin
--
Posted via http://www.ruby-forum.com/.