Mark van Zon Posted October 19, 2005 Share Posted October 19, 2005 How to open ? Link to comment Share on other sites More sharing options...
blademonkey Posted October 19, 2005 Share Posted October 19, 2005 How to open ?I can only answer this for Internet Explorer. The actual commandline would be c:\program files\internet explorer\iexplore.exe http://www.google.comwhich would translate to this in Autoitrunwait("c:\program files\internet explorer\iexplorer.exe " & "http://www.google.com")Now if you wanted to make that codea little more dynamic you would create somekind of variable for it and refference it in a inputbox such as this:$targeturl = inputbox("Enter Web URL", "enter the url you would like to surf to") runwait("c:\program files\internet explorer\iexplore.exe " & $targeturl)There's alot more you can do, but that should be a good start. ---"Educate the Mind, Make Savage the Body" -Mao Tse Tung Link to comment Share on other sites More sharing options...
BigDod Posted October 19, 2005 Share Posted October 19, 2005 Here is another way $oInternet = ObjCreate("InternetExplorer.Application") $oInternet.Visible = 1 $oInternet.Navigate( "http://www.google.com" ) Requires Beta Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother Link to comment Share on other sites More sharing options...
Nuffilein805 Posted October 19, 2005 Share Posted October 19, 2005 as i see from his other post i think he wants to open the site in his gui maybe it's this what he wants requires beta expandcollapse popup#include <GUIConstants.au3> ; Simple example: Embedding an Internet Explorer Object inside an AutoIt GUI ; ; The full example is available in the test\ActiveX directory (TestXInternet.au3) ; ; See also: http://msdn.microsoft.com/workshop/browser/webbrowser/reference/objects/internetexplorer.asp $oIE = ObjCreate("Shell.Explorer.2") ; Create a simple GUI for our output GUICreate ( "Embedded Web control Test", 640, 580,(@DesktopWidth-640)/2, (@DesktopHeight-580)/2 , $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS) $GUIActiveX = GUICtrlCreateObj ( $oIE, 10, 40 , 600 , 360 ) $GUI_Button_Back = GuiCtrlCreateButton ("Back", 10, 420, 100, 30) $GUI_Button_Forward = GuiCtrlCreateButton ("Forward", 120, 420, 100, 30) $GUI_Button_Home = GuiCtrlCreateButton ("Home", 230, 420, 100, 30) $GUI_Button_Stop = GuiCtrlCreateButton ("Stop", 330, 420, 100, 30) GUISetState () ;Show GUI $oIE.navigate("http://www.autoitscript.com") ; Waiting for user to close the window While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case $msg = $GUI_Button_Home $oIE.navigate("http://www.autoitscript.com") Case $msg = $GUI_Button_Back $oIE.GoBack Case $msg = $GUI_Button_Forward $oIE.GoForward Case $msg = $GUI_Button_Stop $oIE.Stop EndSelect Wend GUIDelete () it's from the helpfile my little chatmy little encryption toolmy little hidermy unsafe clickbot Link to comment Share on other sites More sharing options...
Nuffilein805 Posted October 19, 2005 Share Posted October 19, 2005 hey this is working really good gonna implement this too donno where but i'll do my little chatmy little encryption toolmy little hidermy unsafe clickbot 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