Tweek Posted June 13, 2009 Share Posted June 13, 2009 I want to see if I find the button "InGame" click IN the browser, the page "www.ingamers.de" is aufgrerufen Srs For my Bad English expandcollapse popup;==========Einbinden==========; #include <IE.au3> #include <GUIConstants.au3> ;=========Definition========; $Embedded = _IECreateEmbedded () $Home = "www.godlikerz.de" $GL = "www.godlikerz.de" $IG = "www.ingamers.de" ;===========Form===========; $Form1 = GUICreate ("Webbrowser by Tekumi" , 1700, 1200, 500, 500) GUICtrlCreateObj ($Embedded , 3 , 3 , 1694 , 1000) $Go = GUICtrlCreateButton ("Los" , 5, 1160, 169, 33, 0) $URL = GUICtrlCreateInput ("" , 3, 1135, 994, 21) $HomeButton = GUICtrlCreateButton ("Home" , 170, 1160, 169, 33, 0) $Godlikerz = GUICtrlCreateButton ("Godlikerz" , 330 , 1160 , 169 , 33 , 0) $Ingamers = GUICtrlCreateButton ("InGamers" , 490 , 1160 , 169 , 33 , 0) $RidingCloud = GUICtrlCreateButton ("RidingCloud" , 650 , 1160 , 169 , 33 , 0) GUISetState (@SW_SHOW) _IENavigate ($Embedded , $Home) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Go _IENavigate($Embedded, GUICTRLREAD($URL));<== Setzt den IE zu dem URL der sich im Input $URL befindet^^ Case $HomeButton _IENavigate($Embedded, $Home);<== Setzt ihn wieder zu Home :) GUICtrlSetData($URL, $Home);<== Und schreibt in den URL Input wieder den aktuellen link von home^^ Case $GUI_EVENT_CLOSE;X oben rechts im Fenster EXIT;Schließt das Programm Case $Godlikerz _IENavigate ($GL) Case $Ingamers _IECreate ("www.ingamers.de", 1, 1) EndSwitch WEnd 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