Jump to content

How do you automate a input in the URL box while IE is running


Recommended Posts

I wondering how you program your script to automatically input text into a specific stop (in this case, the URL box) and to press enter)

Welcome to the Forums.

Start by looking through the helpfile. It's very detailed and gives examples to many common tasks.

Also don't just think automation, meaning you have to see it do what it does, like using Send(). You can use special commands(and there are a lot) to do what you need such as below.

Have a look at

_IENavigate() ;which will direct you to any URL you specify.

If you don't like IE or you don't use that browser. Alternatively you can use ShellExecute() and it will launch it in the default browser for that user. I personally use ShellExecute() for most of my apps/GUI's because some people don't use IE and/or its not their default browser.

ShellExecute("http://www.autoitscript.com")
Edited by EndFunc
EndFuncAutoIt is the shiznit. I love it.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...