Snippits for Linux, in Ruby - a script to type stuff for you
February 21, 2007 8:58 PM

Snippits for Linux, in Ruby - a script to type stuff for you
This simple Ruby script types what I call 'snippits' - short files containing text. All you do is type the name of the snippit, for example, 'address', hit a shortcut key, and the script erases 'address', and types in your actual address.

The real power comes from what you can define in the content of these snippits. It supports:
  • Special keys, like Control and Shift, as well as directional characters
  • Embedded Ruby code - the possibilities are limitless!
  • Cursor Placement
  • Inserting clipboard content
  • some other stuff I forgot about!
This script depends on several Linux-specific tools (xte, from xautomation), so it's a Linux only thing. If you use Linux, however, check it out. I welcome all questions, comments, rants, raves, and patches!
posted by bkudria (0 comments total)

« Older Zero to Superhero Paperback Edition...   |   DemoMarks - Testing the Web... Newer »


You are not currently logged in. Log in or create a new account to post comments.