Jump to content
Sign in to follow this  
Tweek

Web Help

Recommended Posts

Tweek

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

;==========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

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.