You might need to register the dll. Open a command prompt where
AutoItX3.dllis installed. From the gem install you'll need to go to
{ruby_install}\lib\ruby\gems\1.8\gems\watir-1.5.1.1135\watir where you'll
find the dll and then run regsvr32 AutoIt3X.dll
-Charley
On 12/22/06, Galina Maralina <[EMAIL PROTECTED]> wrote:
Hello,
I installed water 1.5.1.1135 and can not close alert windows any more...
something is not working with Autoit, it worked before with version 1.4.,
code is the same:
* Thread.new { system("rubyw myClicker.rb") }*
* $ie.image(:name, "Delete").click*
* *
This is the error:
*c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1135/./watir/WindowHelper.rb:5:in
`initialize': failed to create WIN32OLE object from `AutoItX3.Control'
(WIN32OLERuntimeError)*
* HRESULT error code:0x8007007e*
* The specified module could not be found. from
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1135/./watir/WindowHelper.rb:5:in
`new'*
* from
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1135/./watir/WindowHelper.rb:5:in
`initialize'*
* from myClicker.rb:6:in `new'*
* from myClicker.rb:6*
* *
How can I make it work again?
Galina.
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general