title: AutoIt - Internet Explorer Navigate to another page (Pop Dialogue Box)
body: <p>I am using AutoIT within Internet Explorer to navigate from one web page to another</p>
  
  <p>The code I am using is:</p>
  
  <pre><code>_IENavigate($oIE, "http://www.google.co.uk")
  </code></pre>
  
  <p>However the web page that it is coming from displays a JavaScript popup box. I would like to click the OK button to allow the Navigation to proceed</p>
  
  <p>I have tried using the following code:</p>
  
  <pre><code>ControlClick("Windows Internet Explorer", "", "[CLASS:Button; TEXT:OK; Instance:1;]")
  </code></pre>
  
  <p>However this doesn't work due to the fact that when the dialogue box appears the AutoIT process seems to pause itself.</p>
  
  <p>The title on the dialogue box is "Windows Internet Explorer" and there are two buttons.  The button I would like to click has the text of "OK"</p>
  
  <p>Has anyone else come across this before? If so how can I solve this problem?</p>