Sign in to follow this  
Followers 0
Justmobile

open address in IE bar, better way?

7 posts in this topic

#1 ·  Posted (edited)

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



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

Share this post


Link to post
Share on other sites

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

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

#5 ·  Posted (edited)

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

Opt("WinTitleMatchMode", 2)

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

Send("!www.autoitscript.com")

send("{ENTER}")

Share this post


Link to post
Share on other sites

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  
Followers 0