From: Skye Weir-Mathews Date: 2007-06-09T08:14:14+09:00 Subject: Re: Issue with ControlSend function using AutoIT in Ruby Okay, I think I figured it out, my script was automating an installer and sending messages to STDOUT letting me know how it was progressing through the installation for example: puts "Enter Microsoft SQL Database Authentication Information" autoit.WinWait("Enter Microsoft SQL Database Authentication Information", "", 5) autoit.ControlSend("Enter Microsoft SQL Database Authentication Information", "", 301, "XXX") autoit.ControlSend("Enter Microsoft SQL Database Authentication Information", "", 302, "XXX") autoit.ControlSend("Enter Microsoft SQL Database Authentication Information", "", 1, "{ENTER}") so, I noticed that when the script was running in the background it installed fine, and when it was running in the foreground I got the funky chars. Since then I commented out the lines like puts "Enter Microsoft SQL Database Authentication Information" and it seems to be running fine. Thanks ya'll -- Posted via http://www.ruby-forum.com/.