Harry wrote:
> I am using Windows2000.

Go grab AutoItX, and script it from Ruby.

   require 'win32ole'
   app_window_title  = "The App I Want To Type Into"
   @au3 = WIN32OLE.new("AutoItX3.Control")
   @au3.opt("WinTextMatchMode", 2)
   @au3.Run( "C:\\Program Files\\SomeApp.exe" )
   @au3.WinWaitActive( app_window_title  )
   @au3.Send( "Some text to type to the application" )


-- 
James Britt

http://web2.0validator.com    - We're the Dot in Web 2.0
http://refreshingcities.org   - Design, technology, usability
http://yourelevatorpitch.com  - Finding Business Focus
http://www.jamesbritt.com     - Playing with Better Toys