Jump to content
Sign in to follow this  
dslink2009

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

Recommended Posts

dslink2009

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)

Share this post


Link to post
Share on other sites
EndFunc

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.

Share this post


Link to post
Share on other sites
dslink2009

Thanks!

Share this post


Link to post
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
Sign in to follow this  

×