First time poster to this group- great job on WATIR !
How do you invoke autoIt from a Watir script ? (I am basically interested in
getting to left & right mouseclicks, I assume you can't do mouse clicks with
send_keys) All the AutoIt documentation is for VB Script.
# I got this to run at least, not sure if its right :
class Autoit
def initialize(libname)
end
end
$autoit=Autoit.new("AutoItX3.Control")
# but I can't get this to work later on in the script
$autoIt.MouseClick "left"
# I must be missing something, or may be making it too complicated.
# It gets : myscript.rb:58: undefined method `MouseClick' for nil:NilClass
(NoMethodError)
I am a career system tester, not an oo progammer yet, but have used Quick Test
Pro, WinRunner, Robot and Win32:GuiTest successfully in the past. I am working
through the Dave Thomas Ruby book too. Thanks
- Mike Tierney, Baltimore, Md.
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general