As an example, here is a program that will open internet explorer, 
navigate to a flight tracker webite, and automatically refresh every 60 
seconds.

--Alex

require 'win32ole'
print "Enter Airline and Flight Number: "
flight = gets.strip
n = 60
browser = WIN32OLE.new('InternetExplorer.Application')
browser.navigate("http://www.flightaware.com/live/flight/#{flight}")
browser.visible = true
loop do
  sleep(n)
  browser.refresh
  print Time.now, "\n"
end
-- 
Posted via http://www.ruby-forum.com/.