Jump to content
Sign in to follow this  
Justmobile

open address in IE bar, better way?

Recommended Posts

Justmobile

Sound stupid but see this

Send("!D")

Send(@ScriptDir & "/test.html")

Send("{ENTER}")

is there a faster way?

(when you run this , you see slowly that the address bar is filling up, this can faster?)

I need to load a url in IE, so i will past the url in the address bar after that an enter.

I need this because the script must running after the page is loaded, i need to do some extra things in my script after the pages is showing.

cheers

Tidde

EDIT:

wahooo

i found this way

Send("!D")

ClipPut(@ScriptDir & "/test.html")

Send("^v")

Send("{ENTER}")

Edited by Justmobile

Share this post


Link to post
Share on other sites
SlimShady

Run("explorer http://www.autoitscript.com")

Share this post


Link to post
Share on other sites
ezzetabi

Or using the default browser...

Run(@comspec & ' /c start http://www.hiddensoft.com','',@sw_hide)

Share this post


Link to post
Share on other sites
Justmobile

Thanks guys, but both options opens a new browser, the browser is already open .

any idea?

Share this post


Link to post
Share on other sites
stingjoel

Try this:

ControlSetText ("about:blank - Microsoft Internet Explorer", "", "Edit1", @ScriptDir & "/test.html")
ControlClick ("about:blank - Microsoft Internet Explorer", "", "ToolbarWindow322") ;Press Go Button

Change windows title text parameter with yours... :)

Edited by stingjoel

Share this post


Link to post
Share on other sites
wangyu1204

Opt("WinTitleMatchMode", 2)

WinActivate ( "- Microsoft Internet Explorer","" )

Send("!www.autoitscript.com")

send("{ENTER}")

Share this post


Link to post
Share on other sites
Justmobile

Great Guys !!

Thanksss

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  

×