Here's an example of using autoit inside of ruby. require 'win32ole' autoit = WIN32OLE.new("AutoItX3.Control") autoit.WinActivate('Yahoo!') So if this works, how come this doesn't work? require 'win32ole' autoit = WIN32OLE.new("AutoItX3.Control") obj=autoit.ObjGet('','InternetExplorer.Application') How do I call the ObjGet() function? In other words, what COM object contains that method?