lib/rautomation/implementations/autoit/window.rb in rautomation-0.0.2 vs lib/rautomation/implementations/autoit/window.rb in rautomation-0.0.3

- old
+ new

@@ -11,10 +11,10 @@ end def load_autoit #:nodoc: @@autoit = WIN32OLE.new('AutoItX3.Control') rescue WIN32OLERuntimeError - dll = File.dirname(__FILE__) + "/../../../ext/AutoItX/AutoItX3.dll" + dll = File.dirname(__FILE__) + "/../../../../ext/AutoItX/AutoItX3.dll" system("regsvr32.exe /s #{dll.gsub('/', '\\')}") @@autoit = WIN32OLE.new('AutoItX3.Control') end end \ No newline at end of file