From: Skye Weir-Mathews Date: 2007-05-30T05:44:29+09:00 Subject: Re: Issue with ControlSend function using AutoIT in Ruby ChrisH wrote: > The AutoItX docs indicate the the Send command is sensitive to the > state of Caps Lock > and also can be affected is a user happens to be holding down SHIFT > when the command > is executed. Would explain the intermittent/seemingly system dependent > behavior... > > Cheers > Chris Hulan This worked well at first, but then my issue came back which is confusing to me, because I've run a number of tests making absolutely sure that Caps Lock is turned off and I wasn't touching the keyboard at all. Interestingly enough when AutoIT send a bad string, it always downcases the same letters (when "LMNIGHTLYHOSTNAME2007_5_25" is bad, it always looks like "lMNIgHTlyHOsTNAME2007_5_2") which makes me think that it's not related to input from the keyboard, which is likely to be different every time. -- Posted via http://www.ruby-forum.com/.