From: Anukul Singhal Date: 2008-11-27T16:26:59+09:00 Subject: AutoIt: Regarging AutoIt usage with Firefox Hi, I am trying to automate some operations in Firefox using AutoItX3 dll. I am giving a sample script below, and in this both WinExists and WinClose return 0 (false), although it should return 1 (true as per AutoIt). require 'firewatir' require 'win32ole' ff = FireWatir::Firefox.new autoit = WIN32OLE.new("AutoItX3.Control") sleep 5.0 puts autoit.WinExists("[CLASS:MozillaUIWindowClass]") sleep 2.0 puts autoit.WinClose("[CLASS:MozillaUIWindowClass]") Can anyone let me know what is wrong with this script, or is it not feasible? Thanks, Anukul -- Posted via http://www.ruby-forum.com/.