Skip to content

damian-m-g/autoit-ffi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

autoit-ffi ― FFI bindings for AutoIt

This is a very early, unfishied version.

##Overview

This project aims to be a complete Ruby wrapper of the excellent AutotIt library (http://www.autoitscript.com/site/). autoit-ffi uses the AutoItX3 dll library, and not the COM interface. This means that there is no need to install AutoIt prior to using autoit-ffi, in fact installation is as easy as gem install autoit-ffi

##Installation

gem install autoit-ffi

##Usage

require 'autoit-ffi'

ai = AutoItFFI::AutoIt

ai.admin?                           # => true/false
ai.move_mouse(500, 500, 5)          # x, y, speed
ai.cd_tray("D:", :open)             # magic!
ai.tool_tip("Tool tip!", 200, 200)  # text, x, y
ai.send("this text will be sent by simulated key strokes")

For a list of the currently implemented functions, see https://github.com/kl/autoit-ffi/blob/master/lib/function_attacher.rb

About

Ruby FFI bindings for AutoIt

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%