eldara Posted December 2, 2007 Share Posted December 2, 2007 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? Link to comment Share on other sites More sharing options...
The Ape Posted December 2, 2007 Share Posted December 2, 2007 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. FixJaw.comTriad-Art.com Link to comment Share on other sites More sharing options...
JustinReno Posted December 2, 2007 Share Posted December 2, 2007 This is a better example using Dale's IE functions. #Include <IE.au3> _IECreate("www.google.com") Link to comment Share on other sites More sharing options...
James Posted December 2, 2007 Share Posted December 2, 2007 How about: Run("http://www.google.co.uk") That will run in the default client. Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
The Ape Posted December 2, 2007 Share Posted December 2, 2007 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. FixJaw.comTriad-Art.com Link to comment Share on other sites More sharing options...
Zedna Posted December 2, 2007 Share Posted December 2, 2007 Run("start http://www.google.co.uk") or ShellExecute("http://www.google.co.uk") Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now