Hi All,

I use simple method to wait for popups and click them:

def check_for_popups

  loop do

    popup = autoit.WinWait('Confirm, '', 1)

    if  popup == 1
      autoit.Send('{ENTER}')
    end

    sleep(10)
  end
end

I use this method like Thread.new { check_for_popups }. This worked in
watir and firewatir 1.6.2. It also work with firewatir 1.6.5. But with
watir 1.6.5 if any popup appers this tread hangs.
This method also doesn't work
http://groups.google.com/group/watir-general/browse_thread/thread/bacfb0e61dec3e38/19ae34343ab051e4?lnk=gst&q=pop+up#19ae34343ab051e4

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: [email protected]
To unsubscribe: [email protected]

To unsubscribe from this group, send email to 
watir-general+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to