d_keys
self
end
private
def do_await_window
@autoit.WinWait @title, ""
end
def do_send_keys
@keys.each do | key |
sleep 1 # Just to watch it happen.
@autoit.Send key
end
end
end
if $0 == __FILE__
title = ARGV[0]
keys = ARG
n3 uses fork(), so it doesn't work on Windows.
-
Brian Marick, independent consultant
Mostly on agile methods with a testing slant
www.exampler.com, www.exampler.com/blog
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org
;t have to have an executable ruby file (and know where to find
it). You can just require a watcher file and do the work without any
implicit or explicit exec.
-
Brian Marick, independent consultant
Mostly on agile methods with a testing slant
www.exampler.com, www.exampler.com/blog
end_keys
@keys.each do | key |
sleep 1 # Just to watch it happen.
@autoit.Send key
end
end
def do_leave_dropping
File.open(@dropping_file, "w") do | io |
io.puts("Finished at #{Time.now}.")
end
end
end
if $0 == __FILE