Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8114563
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T03:11:08+00:00 2026-06-06T03:11:08+00:00

I am using AutoIT within Internet Explorer to navigate from one web page to

  • 0

I am using AutoIT within Internet Explorer to navigate from one web page to another

The code I am using is:

_IENavigate($oIE, "http://www.google.co.uk")

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

I have tried using the following code:

ControlClick("Windows Internet Explorer", "", "[CLASS:Button; TEXT:OK; Instance:1;]")

However this doesn’t work due to the fact that when the dialogue box appears the AutoIT process seems to pause itself.

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”

Has anyone else come across this before? If so how can I solve this problem?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T03:11:10+00:00Added an answer on June 6, 2026 at 3:11 am

    _IENavigate by default waits until the page is fully loaded. The dialog box may prevent a page to be fully loaded. The correct solution would be to:

    • _IENavigate the page without waiting for the page to fully load
    • Wait until the dialog box appears and close it
    • Wait for the page to fully load

    The parameters for _IENavigate are like this, and you need to set $f_wait to 0:

    _IENavigate(ByRef $o_object, $s_url [, $f_wait = 1])
    

    To wait for the dialog box to appear, you will probably simply repeatedly attempt to click it until the ControlClick function returns it did so successfully.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using autoit to handle javas script popup code as autoit.WinWaitActive([Class:#32770]) result =autoit.ControlClick([Class:#32770],,Button1)
I wrote a program using AutoIT to fetch information from a number of websites
I'm using the following code (System.Data.SQLite within VB.net): Dim SQLconnect As New SQLite.SQLiteConnection() Dim
Using LINQ on collections, what is the difference between the following lines of code?
I am using AutoIt to create an auto-install application. There is an dialog which
I try to launch a self written autoit application called KeyShortcuts.exe using a batch
I want to have a web page that contains 3 parts: A header at
I'm using AutoIt to try to automate the use of a program called PhotoZoom
I have installed AutoIt on my machine. Its working ok on one machine but
I'm using C# to manipulate an Excel worksheet. The following two pieces of code

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.