[IE.au3] Aktuelle URL in die Inputbox übertragen

  • meinst du so?

    Spoiler anzeigen
    [autoit]

    #include <IE.au3>

    [/autoit] [autoit][/autoit] [autoit]

    Global $Url = ""
    $IE = _IECreateEmbedded()
    $Form = GUICreate("Browser", 623, 442)
    $Input = GUICtrlCreateInput("", 10, 10, 591, 21)
    $View = GUICtrlCreateObj($IE, 10, 40, 605, 389)
    GUISetState()

    [/autoit] [autoit][/autoit] [autoit]

    _IENavigate($IE,"http://www.google.de")

    [/autoit] [autoit][/autoit] [autoit]

    While GUIGetMsg() <> -3
    $Cache = _IEPropertyGet($IE, "locationurl")
    if $Cache <> $Url Then
    $Url = $Cache
    GUICtrlSetData($Input, $Url)
    EndIf
    WEnd

    [/autoit]