Sign in to follow this  
Followers 0
eldara

Anyway to open a website (Regardless of screen res)

6 posts in this topic

I want to make it open a website without me needing to run internet explorer click address bar (using mouse co-ords) type website and click enter, is it possible?

Share this post


Link to post
Share on other sites



I don't use IE, but i'm sure it would be similar.

I gather you have a browser open and you want to navigate to another webpage?

In Firefox, the below code will bring focus to Firefox, select the address bar, and paste the address $Var...

...then navigates to the page.

$Var = "http://www.somewebpage.com"
ClipPut($Var)
WinActivate ("Firefox");Opt("WinTitleMatchMode", 2) to match any window with "Firefox" in title
Send("^l")
Send("^v")
Send("{ENTER}")

If that's not what you need... more info, please.

Share this post


Link to post
Share on other sites

This is a better example using Dale's IE functions.

#Include <IE.au3>

_IECreate("www.google.com")

Share this post


Link to post
Share on other sites

This is a better example using Dale's IE functions.

#Include <IE.au3>

_IECreate("www.google.com")
Yes that is better... "Try to attach to an existing window"

It seems like he's referring to a window that's already open... maybe wants it to be invisible. Don't really know.

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